Hi All,
I'm currently working in an all Linux shop and over the last couple of weeks have had to recreate a few crashed linux vms with corrupt vmx files. Thankfully, the network info was retrievable from the backup version of the netconfig file.
Now I know that good backups is the correct answer here.......but.......given the small size of Virtual Machine vmx files, is there any way to use the VI Toolkit to collect / backup vmx info for all vms in the inventory?
Many Thanks
John
There is currently no VITK cmdlet that does that, but have a look at the VI Toolkit Extensions.
That module contains a function, Get-TkeVmx, to read VMX files.
Note that the VI Toolkit Extensions require PowerShell v2 CTP3 !
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I know that this isn't what you were looking for, but I figured I would toss it out there anyways. esXpress backups (which you can use the free copy) backs up the .vmx files along with the whole VM's. Might be something to look into. Are you running any type of bulk backup right now?
Kyle