Get-VMHostSnmp

This cmdlet retrieves hosts SNMP configuration. To specify a server different from the default one, use the Server parameter.

Syntax

[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
Server
VIServer[] named
  • wildcards
  • pipeline
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null 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.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Host.VmHostSnmp

    Examples


    Example 1

    Get-VMHostSNMP

    Retrieves the host SNMP configuration. Operates on the default server which must be an ESX host.

    Related Commands

    Feedback

    Was this page helpful?