Tag Archives: vmdk

Where’s that vmdk at?

Do your vm’s have multiple virtual disks? Do you use different datastores for your vmdk’s? Are you ever wondering where the disk files of each of your vm’s is stored? Yes? Well, I’ve got something to help you out.

Today’s handy script of the day creates an overview of the locations of all your vmdk files in the form of a csv file.

Of course you Powershell guru’s can work some simple magic to output it to a HTML page, a Word document of straight to the printer. (If you don’t, but would like to, drop me a comment and I’ll try to respond asap).

The script is attached for easy use. Just fill in your Virtual Center server name, rename the file to .ps1 and enjoy!

Get-DiskFiles

»crosslinked«