Power CLI : Simple Script to get Guest Disk Usage Information


Today i was working on how can i get the actual OS level disk usage information for some specific VMs. As a vSphere administrator this requirement comes up and in most of the cases we as vSphere administrators dont have access to the guest OS. I such cases we can leverage ExtensionData property of a VM object to drill down and get this information out:

Below is a simple script which will do the work:


About Author

Leave A Reply