Get-VMHostHardware
This cmdlet retrieves hardware and firmware information for the hosts specified by the VMHost parameter. To specify a server different from the default one, use the Server parameter.
Syntax
[-SkipAllSslCertificateChecks]
[-SkipCACheck]
[-SkipCNCheck]
[-SkipRevocationCheck]
[-VMHost <VMHost[]>]
[-WaitForAllData]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
VIServer[] | named |
|
This parameter is required when you specify the host by name. In this case, the host with the specified name is searched on the specified servers and hardware information is retrieved from it. If a VMHost object is passed to the VMHost parameter, the Server parameter is not used. | optional |
|
SwitchParameter | named |
|
Indicates that all checks for SSL server certificates are skipped. | optional |
|
SwitchParameter | named |
|
Indicates that when connecting through HTTPS, the client does not validate that the server certificate is signed by a trusted certification authority (CA). | optional |
|
SwitchParameter | named |
|
Indicates that the certificate common name (CN) of the server does not need to match the hostname of the server. | optional |
|
SwitchParameter | named |
|
Indicates that the revocation check for server certificates is skipped. | optional |
|
VMHost[] | named |
|
Specifies the hosts for which you want to retrieve hardware information. If not specified, the cmdlet retrieves hardware information for all hosts on all default connections. | optional |
|
SwitchParameter | named |
|
If specified, forces all data for each result object to be retrieved before that object is returned. If this parameter is not specified, retrieval of some of the data in the output objects might be postponed to an arbitrary point in time between the cmdlet call and the first time the data is accessed through the corresponding property. As a result, not specifying this parameter makes the cmdlet return data faster, but different portions of the data in result objects might come from different points in time. |
[-Server <VIServer[]>]
[-SkipAllSslCertificateChecks]
[-SkipCACheck]
[-SkipCNCheck]
[-SkipRevocationCheck]
[-WaitForAllData]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String[] | named |
|
Filters the ESXi hosts by ID. | optional |
|
VIServer[] | named |
|
This parameter is required when you specify the host by name. In this case, the host with the specified name is searched on the specified servers and hardware information is retrieved from it. If a VMHost object is passed to the VMHost parameter, the Server parameter is not used. | optional |
|
SwitchParameter | named |
|
Indicates that all checks for SSL server certificates are skipped. | optional |
|
SwitchParameter | named |
|
Indicates that when connecting through HTTPS, the client does not validate that the server certificate is signed by a trusted certification authority (CA). | optional |
|
SwitchParameter | named |
|
Indicates that the certificate common name (CN) of the server does not need to match the hostname of the server. | optional |
|
SwitchParameter | named |
|
Indicates that the revocation check for server certificates is skipped. | optional |
|
SwitchParameter | named |
|
If specified, forces all data for each result object to be retrieved before that object is returned. If this parameter is not specified, retrieval of some of the data in the output objects might be postponed to an arbitrary point in time between the cmdlet call and the first time the data is accessed through the corresponding property. As a result, not specifying this parameter makes the cmdlet return data faster, but different portions of the data in result objects might come from different points in time. |
Output
VMware.VimAutomation.ViCore.Types.V1.Host.VMHostHardware
Examples
Example 1
Retrieves hardware information about the "MyVMHost" host.
Example 2
Retrieves hardware information about the "MyVMHost" host, skipping all verifications of SSL server certificates.
Related Commands
VMHost
VMHostAccount
VMHostAdvancedConfiguration
VMHostAuthentication
VMHostAvailableTimeZone
VMHostDiagnosticPartition
VMHostDisk
VMHostDiskPartition
VMHostFirewallDefaultPolicy
VMHostFirewallException
VMHostFirmware
VMHostHardware
VMHostHba
VMHostModule
VMHostNetwork
VMHostNetworkAdapter
VMHostNetworkStack
VMHostNtpServer
VMHostPatch
VMHostPciDevice
VMHostProfile
VMHostProfileCompliance
VMHostProfileImageCacheConfiguration
VMHostProfileRequiredInput
VMHostProfileStorageDeviceConfiguration
VMHostProfileUserConfiguration
VMHostProfileVmPortGroupConfiguration
VMHostRoute
VMHostService
VMHostSnmp
VMHostStartPolicy
VMHostStorage