Along with vSphere comes alot of other lowercase v starting words including vCompute, vNetwork, vStorage and vPowerCLI, actually hold on, they seam to have forgotten the v with this one, PowerCLI it is! PowerCLI is the new look all improved VI Toolkit.
(Personally I love the name – much better than VI Tookit. Nice one C-Dawg !)
So what’s new ?
There have been several bug fixes, speed enhancements and 8 new cmdlets, these are as follows:
And what can we do with these, well basically manage host profiles as you can see from the below examples:
Retrieves the virtual machine host profile named Profile01.
Get-VMHostProfile -Name Profile01
Apply the host profile named testProfile to the virtual machine host with an IP address 192.168.1.10.
$MyHostProfile = Get-VMHostProfile -Name testProfile
$applyHost = Get-VMHost 192.168.1.10
Apply-VMHostProfile -Entity $applyHost -Profile $MyHostProfile -Confirm:$false
Exports the selected host profile to the export.prf file.
$MyHostProfile = (Get-VMHostProfile -Name testProfile )
Export-VMHostProfile -FilePath export.prf -Profile $MyHostProfile -Force
So should we upgrade ? Yes – even if you don’t use vSphere, PowerCLI still works with your current VI and you will still get the benefits of the bug fixes and the spead enhancements.
For more information and a nice video showing how to use the host profile cmdlets make sure you check out the PowerCLI Blog