Calling all ESX admins! I am looking for novel ideas for scripts to write for the upcoming VMware Toolkit for Windows PowerShell. Yes–I am offering to do the writing. I am doing research for a project (details of which to be announced in the coming weeks), and I could use some really great ideas of missing functionality or fixes to problems you have seen while working with VMware Virtual Infrastructure 3. Pointers to something cool you have seen done with the VMware Perl Toolkit are good too. It’ll be amusing to see how much simpler those will be in PowerShell.
So please share anything you can come up with. You can leave them in the comments or contact me directly. Thanks!
Got one from IRC:
Just thought of another one myself. I’d like to easily remove one or more virtual hardware devices (such as an unnecessary sound or USB controller) across multiple systems.
You could write one to add multiple port groups across many host servers. This is so nice when trunking many VLANs at once.
Thanks Andrew, I’ll add that to my list.
A way to create a snapshot that expires in a specified number of hours would be awesome.
Hi
I would love to have a list of all active snapshots, the time they are running (or creation date), comment and VM they belong to.
Gabrie
@Mark, cool idea, I’ll see if that’s doable. @Gabrie, try this:
$snap = get-vm | get-snapshot$snap | ft @{l = "VM"; e = {$_.vm.name} },name,created,description
From the VITK forum: “I want CPU Ready information, i.e. the amount of time a VM is READY to RUN but must WAIT for a the right number of cores to become available.”
It would be nice if esxcfg-mpath commands could be used.