PowerCLI Reference

VirtualMachine - Object

Property of
VMStartPolicy, VMGuestRoute, Snapshot, VMResourceConfiguration, PciPassthroughDevice, DrsClusterVMGroup, SdrsVMAntiAffinityRule, VMScriptResult, ScsiPassthroughDevice, VMGuestNetworkInterface, VMQuestion, PassthroughDevice, VMGuest
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, Stop-VMGuest, New-VMGuestRoute, Wait-Tools, Get-ScsiController, Get-DatastoreCluster, Get-DrsClusterGroup, New-DrsClusterGroup, Set-DrsClusterGroup
Returned by
Get-VM, New-VM, Start-VM, Stop-VM, Wait-Tools, Import-VApp, Set-VM, Move-VM, Restart-VM, Suspend-VM
Extends
InventoryItem, DatastoreUser, DatastoreRelatedObjectBase, RemoteConsoleVM

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 
GuestIdString 
CoresPerSocketInt32 
Properties inherited from DatastoreUser
DatastoreIdList
Properties inherited from InventoryItem
CustomFields, ExtensionData, Id, Name, Uid, Client

Copyright © VMware, Inc. All rights reserved.