VMware vSphere PowerCLI Release NotesReleased 09 January 2012 Build 581491 is VMware vSphere PowerCLI 5.0.1.
About VMware vSphere PowerCLIVMware vSphere PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides more than 200 cmdlets for managing and automating vSphere and vCloud. VMware vSphere PowerCLI Components And VersioningVMware vSphere PowerCLI 5.0.1 consists of two components:
RequirementsTo use VMware vSphere PowerCLI, you need to have installed the following software:
If .NET is installed without Service Pack 1, some operations might take long to complete. Supported PlatformsVMware vSphere PowerCLI 5.0.1 works on the 32-bit and 64-bit versions of the following operating systems:
The following PowerCLI features are supported only on the 32-bit version of Windows PowerShell.
VMware vSphere PowerCLI 5.0.1 supports the following VMware environments:
What's New in This Release?New FeaturesThis release of VMware vSphere PowerCLI introduces the VMware vCloud Director PowerCLI 1.5 snapin ( This release introduces the Get-CIView cmdlet for retrieving cloud view objects. Note: This is an experimental feature. For an explanation of how experimental support is different from full support, see VMware Experimental Feature Support. Deprecated FeaturesWorking with multiple servers will be enabled by default in a future release. You can explicitly set your own preference by using the For more information on changes made in PowerCLI 5.0.1, see the VMware vSphere PowerCLI Change Log. Obtaining the SoftwareYou can obtain VMware vSphere PowerCLI 5.0.1 from here. Known IssuesVMware vSphere PowerCLI 5.0.1 is known to have the following issues: Apply-DrsRecommendation Apply-DrsRecommendation runs in asynchronous mode even when called without the RunAsync parameter.
Copy-DatastoreItem Copy-DatastoreItem throws an error when uploading an item to the root folder of a Datastore Provider drive.
Copy-HardDisk
Copy-HardDisk cannot change the storage format of the destination hard disk.
Get-Datastore (Get-Datastore).FreeSpaceMB might not return the actual datastore free space after a virtual machine is powered on. A refresh should be made first.Format-VMHostDiskPartition
Format-VMHostDiskPartition throws an error and does not create a datastore, although the specified VMHost disk partition is formatted with VMFS and you can run New-Datastore to create a datastore from the formatted partition.
Get-HardDisk
Persistence property of the object returned by Get-HardDisk is different depending on the way the hard disk is obtained by the cmdlet.
Get-NetworkAdapter
Get-ScsiLun
Get-ScsiLun to retrieve Powerpath devices, the value of their MultipathPolicy property is shown as Unknown.
Get-Template
Location parameter of Get-Template does not accept Cluster objects.
Get-UsbDevice
Get-View
Get-View with the SearchRoot and ViewType parameters and specify a property path for the Property parameter, the linked view of the cmdlet output will not be populated.
Get-VIEvent
Get-VM
Get-VMHostProfileRequiredInput
Get-VMHostProfileRequiredInput returns a result even if you pass a hashtable with inapplicable elements.
Install-VMHostPatch
Invoke-VMScript
Invoke-VMScript to invoke multi-line BAT and BASH scripts, the command might not run all the script lines.
New-HardDisk New-HardDisk does not ask for confirmation when you try to create a VMDK anti-affinity rule that overwrites an existing one.
New-OSCustomizationSpec
New-OSCustomizationSpec changes the values of the PlainText properties from true to false.
New-VIPermission
New-VIPermission to create a permission for a distributed switch, the Entity property of the returned object is null.
New-VMHostNetworkAdapter New-VMHostNetworkAdapter cannot configure the MAC address on VirtualCenter Server 2.5 and ESX 3.5 hosts.
Set-Annotation Set-Annotation cannot set an annotation for a custom attribute if another custom attribute with the same name exists.
Set-HardDisk
GuestDiskResize parameter of Set-HardDisk is not supported.
Set-ResourcePool Set-ResourcePool disconnects the vCenter Server if the name you pass to the Name parameter already exists for another resource pool on the server.
Set-ScsiController Set-ScsiController cannot set both the Type and BusSharing parameters at the same time.Workaround: First run the cmdlet to set the type and then run it again to configure the bus sharing mode. Set-ScsiLun
CommandsToSwitchPath, BlocksToSwitchPath, NoCommandsSwitch, and NoBlocksSwitch parameters of Set-ScciLun do not work on ESX 4.0 and later.
Set-VM
Set-VMGuestNetworkInterface
Set-VMGuestNetworkInterface becomes non-responding if the provided IP address conflicts with an existing IP address on the network.
Set-VMHost Set-VMHost might not populate the VMSwapfileDatastoreId property of the returned VMHost object when VMSwapFilePolicy or VMSwapFileDatastore properties are modified.Workaround: Use Get-VMHost to retrieve the object returned by Set-VMHost.
Set-VMHostNetwork Set-VMHostNetwork cannot clear the values of the ConsoleV6Gateway and VMKernelV6Gateway properties of the input object.Set-VMHostNetworkAdapter
Set-VMHostNetworkAdapter, the VMotionEnabled property of the second NIC might still report that vMotion is not enabled. This is due to the fact that there can only be one NIC selected for vMotion, but more than one can be candidate NICs for vMotion. To change the currently active vMotion NIC, first disable the current one and then enable the one you want.
Set-VMGuestNetworkInterface
IPPolicy parameter to Static with Set-VMGuestNetworkInterface changes the value of the WinsPolicy parameter to Static as well.
Set-VMHostNetworkInterface Set-VMGuestNetworkInterface cannot configure correctly the DNS address on Linux operating systems.
Set-VMHostSNMP
Get-CIVM
Get-CIVM cmdlet returns system vShield Edge virtual machines used to establish perimeter security in the NAT routed network.
Get-CIVApp Get-CIVApp returns all virtual appliance objects in the inventory including expired ones.
Get-CIVAppTemplate Get-CIVAppTemplate returns all virtual appliance templates in the inventory including expired ones.
PowerCLI in-guest commands While connected to a vCenter Server 5.x that manages ESX 4.x hosts, the following PowerCLI in-guest commands will not work against virtual machines on those ESX hosts:
Get-Datacenter returns the datacenters from the default servers instead from the VIServer folder of the Inventory Provider drive.
Other
Resolved IssuesThe following issues have been resolved in VMware vSphere PowerCLI 5.0.1: Install-VMHostPatch
LocalPath parameter set of Install-VMHostPatch does not work.Installing VMware vSphere PowerCLIVMware provides a single installer for VMware vSphere PowerCLI. To install VMware vSphere PowerCLI components
For more information about installing PowerCLI 5.0.1, see the VMware vSphere PowerCLI 5.0.1 User's Guide. |