Syntax
Get-VMHostAttributes [-VMHost] <VMHost> [<CommonParameters>]Related Commands
Get-VMHostDetailed Description
Gets the identifying attributes of a host. These are the attributes that the rules will match against.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
VMHost | VMHost | Host to get the attributes for. Use Get-VMHost to retrieve the host object associated with a host name. | true | true (ByValue) |
Return Type
Notes
Examples
-------------- Example 1 --------------
C:\PS> Get-VMHostAttributes myhost "ipv4" "192.168.1.1" "vendor" "VMware"
Retrieves the identifying attributes for the host named myhost.
-------------- Example 2 --------------
C:\PS> Get-VMhost "myhost" | Get-VMHostAttributes "ipv4" "192.168.1.1" "vendor" "VMware"
Retrieves the identifying attributes for the host named myhost.