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, 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, Get-Datastore, 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

Properties

NameTypeNotes
PowerStatePowerState 
VersionVMVersion 
DescriptionStringDeprecated. As of PowerCLI 5.0 use Notes property instead.
NotesString 
GuestVMGuest 
NumCpuInt32 
MemoryMBInt32 
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 
UsedSpaceGBfloat 
ProvisionedSpaceGBfloat 
HARestartPriorityHARestartPriority? 
HAIsolationResponseHAIsolationResponse? 
DrsAutomationLevelDrsAutomationLevel? 
VMSwapfilePolicyVMSwapfilePolicy? 
VMResourceConfigurationVMResourceConfiguration 
Properties inherited from InventoryItem
CustomFields, ExtensionData, Id, Name, Uid
Properties inherited from DatastoreUser
DatastoreIdList

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