Port Parameter (Get-SNMP Cmdlet)
The UDP port where the remote SNMP agent is listening.
Syntax
Get-SNMP -Port int
Remarks
Port specifies a service port on the remote host to which to connect.
A valid port number (a value between 1 and 65535) is required for the connection to take place.
Default Value
161
Parameter Alias
AgentPort