Skip to content

PowerCLI – Process of Adding Notes to VMs

Documentation is a good thing. No matter how big or small. One of the easiest methods of documentation is to use the built in annotation section for “Notes”.

Annotation Notes

What I’ve come up with is a fairly basic script to go through all the VM objects that do not contain notes and allow the user to insert notes on a line by line basis. Here’s an example:

Running the script

Here’s the script to accomplish it:

If a one-liner is more your speed, give this one a go… Note: you’ll have to specify your own cluster, if that’s a desired use.

Note: this was a script that worked in my environment. There is no warranty or support with this script, please use at your own risk.

Published inPowershellVMware

Be First to Comment

Leave a Reply