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”.
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:
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.