PowerCLI Reference

VMHost - Object

Property of
Log, VMHostPatchResult, VMHostProfile, VMHostRoute, VMHostProfileInput, IScsiHba, DiagnosticBundle, VMHostDisk, ScsiLun, HostConsoleVirtualNic, VMHostNetworkInfo, HostFirmwareBundle, FibreChannelHba, VMHostPatch, EsxCli, VMHostAuthentication, VMHostFirewallException, HostService, PciPassthroughDevice, HostNic, VMHostStorageInfo, VMHostProfileIncompliance, VMHostDiagnosticPartition, Hba, VmHostSnmp, VmHostModule, PhysicalNic, HostFirmware, VMHostTimeZone, VMHostFirewallDefaultPolicy, NicTeamingPolicy, VMHostHardware, ScsiPassthroughDevice, DrsClusterVMHostGroup, HostVirtualNic, VirtualMachine, VMHostPciDevice, HostVMKernelVirtualNic, PassthroughDevice, VirtualSwitch
Parameter to
Start-VMHost, Restart-VMHost, Get-VMHostHba, New-VMHostNetworkAdapter, Get-PassthroughDevice, Get-Datacenter, Get-Cluster, Remove-Datastore, Set-VMHostProfile, Get-ScsiLun, Get-VMHostAvailableTimeZone, Import-VApp, Get-VMHostSysLogServer, Get-LogType, Remove-VMHostNtpServer, New-VMHostProfile, Get-VMHostService, New-VM, Import-VMHostProfile, Add-VMHostNtpServer, Suspend-VMHost, Stop-VMHost, New-VirtualSwitch, Get-VMStartPolicy, Set-VMHost, Move-VMHost, Set-VMHostAdvancedConfiguration, Get-VMHostFirewallException, Get-VMHostFirewallDefaultPolicy, Get-DrsRule, Get-VMHostStartPolicy, Get-VMHostProfile, Get-VMHostDiagnosticPartition, Get-VMHostNetworkAdapter, Set-VMHostFirmware, Install-VMHostPatch, Get-Log, Set-VMHostSysLogServer, Get-VMHostAdvancedConfiguration, New-Template, New-Datastore, Get-VMHostStorage, Get-VMHostNetwork, Get-VMHostFirmware, Get-VirtualSwitch, Test-VMHostProfileCompliance, Get-VirtualPortGroup, New-VApp, Get-VMHostModule, Remove-VMHost, Get-VMHostNtpServer, Get-VMHostRoute, New-VMHostRoute, Get-VMHostPatch, Get-VMHostDisk, Get-EsxCli, Get-VMHostProfileRequiredInput, Get-VMHostAuthentication, Get-VMHostHardware, Get-VMHostPciDevice, Get-DrsClusterGroup, New-DrsClusterGroup, Set-DrsClusterGroup
Returned by
Restart-VMHost, Add-VMHost, Get-HAPrimaryVMHost, Get-VMHost, Stop-VMHost, Suspend-VMHost, Move-VMHost, Set-VMHost, Start-VMHost
Extends
VIContainer, DatastoreRelatedObjectBase

Properties

NameTypeNotes
StateVMHostStateDeprecated. As of PowerCLI 5.0 use ConnectionState property instead.
ConnectionStateVMHostState 
PowerStateVMHostPowerState 
VMSwapfileDatastoreIdString 
VMSwapfilePolicyVMSwapfilePolicy? 
ParentIdString 
IsStandaloneBoolean 
ManufacturerString 
ModelString 
NumCpuInt32 
CpuTotalMhzInt32 
CpuUsageMhzInt32 
MemoryTotalMBDecimal 
MemoryUsageMBDecimal 
ProcessorTypeString 
HyperthreadingActiveBoolean 
TimeZoneVMHostTimeZone 
VersionString 
BuildString 
ParentInventoryItem 
VMSwapfileDatastoreDatastore 
StorageInfoVMHostStorageInfo 
NetworkInfoVMHostNetworkInfo 
DiagnosticPartitionVMHostDiagnosticPartition 
FirewallDefaultPolicyVMHostFirewallDefaultPolicy 
ApiVersionString 
MemoryUsageGBDecimal 
MemoryTotalGBDecimal 
DatastoreIdListString[]Deprecated. PowerCLI scripts should not use this property. The property will be removed in a future release.
LicenseKeyString 
MaxEVCModeString 
Properties inherited from VIContainer
CustomFields, ExtensionData, Id, Name, Uid, Client

Copyright © VMware, Inc. All rights reserved.