Syntax
Get-VMHostSnmp [[-Server] <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves hosts SNMP configuration. To specify a server different from the default one, use the Server parameter.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | true (ByValue) |
Return Type
Zero or more VmHostSnmp objectsNotes
Examples
-------------- Example 1 --------------
Get-VMHostSNMP
Retrieves the host SNMP configuration. Operates on the default server which must be an ESX host.