ManageTagsOnDisk

1.0

This script will allow you to add, replace or remove a specific tag from any Disk that matches a search criteria
using parameters -ManageThisTag or ManageThisTag and ManageThisTagValue. It will also allow you to Copy tags
from the Virtual Machine that owns the Disk. The Copy function of the script will overwrite the existing
Tags on the Disk with those from the VM. If
This script will allow you to add, replace or remove a specific tag from any Disk that matches a search criteria
using parameters -ManageThisTag or ManageThisTag and ManageThisTagValue. It will also allow you to Copy tags
from the Virtual Machine that owns the Disk. The Copy function of the script will overwrite the existing
Tags on the Disk with those from the VM. If you wanted to keep some of the Tags on the Disk that are not on
the Virtual Machine, then you can you Merge function. The Merge Function will combine Tags from the VM and Disk.
For those tags that exist on both VM and Disk, you can specify which of the two values will be kept by using
the switches -vmwins or -diskwins.


Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name ManageTagsOnDisk

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

GooberWorks (c) 2020

Package Details

Author(s)

  • AlexG

Tags

Azure AzureRM Automation TAGS Disk replace remove delete copy add Unattached ManageTagsOn

Functions

Merge-HashTable

Dependencies

This script has no dependencies.

Release Notes

1.0 - 2/13/2020
Original Release

FileList

Version History

Version Downloads Last updated
1.0 (current version) 83 2/13/2020