Add disk persistence information to the VI Client using PowerShell

I’ve further adapted Hugo’s script to add a custom attribute which shows the drive persistence state(s) when the script was run.

The script also adds drive state information for templates as well as VM objects.