benmeadowcroft / SRM-Cmdlets

Helper functions for working with SRM and PowerCLI
Apache License 2.0
17 stars 7 forks source link

Example: Tag protected and placeholder VMs #9

Closed benmeadowcroft closed 9 years ago

benmeadowcroft commented 10 years ago

One item of feedback received is that a good example would be to show how to tag the protected and placeholder VMs so that they can be easily searched for within the web client.

benmeadowcroft commented 9 years ago

Not got around to doing an example for this yet but I have added a couple of functions that will make this pretty straightforward, namely:

These are basically wrappers around Get-VM that use the managedBy flag to filter test and placeholder VMs

benmeadowcroft commented 9 years ago

Added an example demonstrating how to tag protected, placeholder, and test VMs.