15
Aug/08
1

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

  • Share/Bookmark

Related posts:

  1. Set VMware Snapshot Location with Powershell
  2. Add Vmx Path to VI Client using Powershell

Comments (1) Trackbacks (0)
  1. Alan Renouf
    16:18 on August 15th, 2008

    I like it, easily added to my word report script too !

    http://communities.vmware.com/docs/DOC-7070

Leave a comment

No trackbacks yet.