## 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

Name | Type | Notes
--- | --- | ---
State | VMHostState | Deprecated. As of PowerCLI 5.0 use ConnectionState property instead.
ConnectionState | VMHostState |
PowerState | VMHostPowerState |
VMSwapfileDatastoreId | String |
VMSwapfilePolicy | VMSwapfilePolicy? |
ParentId | String |
IsStandalone | Boolean |
Manufacturer | String |
Model | String |
NumCpu | Int32 |
CpuTotalMhz | Int32 |
CpuUsageMhz | Int32 |
MemoryTotalMB | Decimal |
MemoryUsageMB | Decimal |
ProcessorType | String |
HyperthreadingActive | Boolean |
TimeZone | VMHostTimeZone |
Version | String |
Build | String |
Parent | InventoryItem |
VMSwapfileDatastore | Datastore |
StorageInfo | VMHostStorageInfo |
NetworkInfo | VMHostNetworkInfo |
DiagnosticPartition | VMHostDiagnosticPartition |
FirewallDefaultPolicy | VMHostFirewallDefaultPolicy |
ApiVersion | String |
MemoryUsageGB | Decimal |
MemoryTotalGB | Decimal |
DatastoreIdList | String[] | Deprecated. PowerCLI scripts should not use this property. The property will be removed in a future release.
LicenseKey | String |
MaxEVCMode | String |
Properties inherited from VIContainer
CustomFields, ExtensionData, Id, Name, Uid, Client

Copyright © VMware, Inc. All rights reserved.