vSphere PowerCLI Reference

VirtualMachine - Object

Property of
VMResourceConfiguration, SdrsVMAntiAffinityRule, PassThroughDevice, ScsiPassthroughDevice, VMGuestNetworkInterface, VMGuestRoute, VMQuestion, VMGuest, Snapshot, VMStartPolicy, VMScriptResult, PciPassthroughDevice
Parameter to
Get-ResourcePool, Get-FloppyDrive, Get-VMResourceConfiguration, Get-PassthroughDevice, Export-VApp, Get-CDDrive, Get-Datacenter, Get-Cluster, Get-VMGuest, Remove-VM, Get-VMHost, Get-UsbDevice, Stop-VM, Mount-Tools, New-CDDrive, Restart-VMGuest, Set-HardDisk, Set-VM, New-VM, Get-HardDisk, Get-NetworkAdapter, Update-Tools, Get-VMStartPolicy, Dismount-Tools, Copy-VMGuestFile, Set-DrsRule, New-HardDisk, New-FloppyDrive, Get-VMGuestRoute, Get-DrsRule, Move-VM, New-NetworkAdapter, Add-PassthroughDevice, Start-VM, Get-Snapshot, Get-VMQuestion, New-Template, Restart-VM, Get-VirtualSwitch, Invoke-VMScript, Get-VirtualPortGroup, Suspend-VM, New-Snapshot, New-DrsRule, Get-VMGuestNetworkInterface, Suspend-VMGuest, Shutdown-VMGuest, New-VMGuestRoute, Wait-Tools, Get-ScsiController, Get-DatastoreCluster
Returned by
Restart-VM, Move-VM, Suspend-VM, New-VM, Start-VM, Get-VM, Set-VM, Stop-VM, Wait-Tools, Import-VApp
Extends
InventoryItem, DatastoreUser, DatastoreRelatedObjectBase

Properties

NameTypeNotes
PowerStatePowerState 
VersionVMVersion 
DescriptionStringDeprecated. As of PowerCLI 5.0 use Notes property instead.
NotesString 
GuestVMGuest 
NumCpuInt32 
MemoryMBDecimal 
HardDisksHardDisk[]Deprecated. As of PowerCLI 5.0 use Get-HardDisk cmdlet instead.
NetworkAdaptersNetworkAdapter[]Deprecated. As of PowerCLI 5.0 use Get-NetworkAdapter cmdlet instead.
UsbDevicesUsbDevice[]Deprecated. As of PowerCLI 5.0 use Get-UsbDevice cmdlet instead.
CDDrivesCDDrive[]Deprecated. As of PowerCLI 5.0 use Get-CDDrive cmdlet instead.
FloppyDrivesFloppyDrive[]Deprecated. As of PowerCLI 5.0 use Get-FloppyDrive cmdlet instead.
HostVMHostDeprecated. As of PowerCLI 5.0 use VMHost property instead.
HostIdStringDeprecated. As of PowerCLI 5.0 use VMHostId property instead.
VMHostIdString 
VMHostVMHost 
VAppVApp 
FolderIdString 
FolderFolder 
ResourcePoolIdString 
ResourcePoolResourcePool 
PersistentIdstring 
UsedSpaceGBDecimal 
ProvisionedSpaceGBDecimal 
HARestartPriorityHARestartPriority? 
HAIsolationResponseHAIsolationResponse? 
DrsAutomationLevelDrsAutomationLevel? 
VMSwapfilePolicyVMSwapfilePolicy? 
VMResourceConfigurationVMResourceConfiguration 
MemoryGBDecimal 
Properties inherited from InventoryItem
CustomFields, ExtensionData, Id, Name, Uid
Properties inherited from DatastoreUser
DatastoreIdList

Copyright © 1998 - 2012 VMware, Inc. All rights reserved.