Posted by: MikeLaverick
I’ve been doing some experimenting with VMware’s PowerShell. I was finding some of the stuff a bit tricky, so I stuck my neck out and contacted Carter Shanklin who is the PM for the PowerShell, and runs the highly interesting blog on PowerShell on vmware.com
Carter was patient and helpful with my noobiee style questions – and put me on to a new community release of PowerShell from Microsoft, and some new downloadable extensions for VMware’s PowerShell which adds even more functionality to this great toolkit.
My favourite bit of PowerShell that Carter me put me on to is being able to rescan all the HBAs of every ESX hosts in VirtualCenter. This is it here
get-vmhost | get-vmhoststorage -rescanallhba
That one ickle line of PowerShell has saved me time – especially this week as I spent time with VMware SRM and endless rescan hbas for testing purposes. There is more to come on this. My interest in PowerShell has been inspired by the time I’ve spent on the SRM book – but it isn’t ready for this blog. But Carter has already recorded his expliots in PowerShell here.