Just noticed the new release of PowerCLI 4.1.1 on twitter:
There are a lot of new features:
- Added support for the ESX CLI functionality through the
Get-EsxCli
cmdlet.- Added support for ESX Top statistics through the
Get-EsxTop
cmdlet.- Enhanced
Get-VirtualSwitch
,Get-VirtualPortGroup
,Get-VMHost
,Get-VM
,New-NetworkAdapter
,Set-NetworkAdapter
, andGet-VMHostNetworkAdapter
to add support for distributed switches and distributed switch port groups.- Added support for SCSI controllers through the
New-ScsiController
,Get-ScsiController
, andSet-ScsiController
cmdlets, and the newController
parameter ofNew-HardDisk
andSet-HardDisk
.- Added support for querying and modifying vCenter Server alarms through the
Get-AlarmDefinition
,Set-AlarmDefinition
,Get-AlarmAction
,New-AlarmAction
,Remove-AlarmAction
,Get-AlarmActionTrigger
,New-AlarmActionTrigger
, andRemove-AlarmActionTrigger
cmdlets.- Added the
Get-AdvancedSetting
,Set-AdvancedSetting
,New-AdvancedSetting
, andRemove-AdvancedSetting
cmdlets for managing advanced vCenter Server settings and Cluster HA advanced options.- Added the
Wait-Tools
cmdlet that allows you to wait for VMware Tools of the specified virtual machines to load before proceeding.- Added support for querying disk and disk partition information of hosts through the
Get-VMHostDisk
andGet-VMHostDiskPartition
cmdlets.- Added support for formatting host disk partitions through the
Format-VMHostDiskPartition
cmdlet.- Added support for querying the primary HA cluster nodes through the
Get-HAPrimaryVMHost
cmdlet.- Added support for zeroing out a virtual machine hard disk through a new
ZeroOut
parameter toSet-HardDisk
cmdlet.
looking forward to test the new Get-EsxCli and the Get-EsxTop cmdlets.
The complete change log is available here.
You can download the new release from here: download link.