...
https://www.powershellgallery.com/packages/SNMP/1.0.0.1
invoke-snmpwalk -IP $([System.Net.Dns]::GetHostAddresses($(read-host 'Enter hostname: '))) -walkmode withinsubtree -community public -OIDStart .1.3.6.1.4.1 -Version V1 -timeout 5000
|
|
---|
|
Code Block |
---|
title | help and commands |
---|
collapse | true |
---|
| PS C:\WINDOWS\system32> Invoke-SNMPWalk -?
NAME
Invoke-SnmpWalk
SYNOPSIS
Function reading data from SNMP using "Walk" method.
SYNTAX
Invoke-SnmpWalk [-IP] <IPAddress> [-OIDStart] <String[]> [[-Community] <String>] [[-UDPport] <Int32>]
[[-Version] {V1 | V2 | V2U | V3}] [[-WalkMode] {Default | WithinSubtree}] [[-TimeOut] <Int32>]
[<CommonParameters>]
DESCRIPTION
Function reading data from SNMP using "Walk" method using SharpSnmpLib library.
Libraries taken from project SharpSnmpLib (http://sharpsnmplib.codeplex.com).
RELATED LINKS
REMARKS
To see the examples, type: "get-help Invoke-SnmpWalk -examples".
For more information, type: "get-help Invoke-SnmpWalk -detailed".
For technical information, type: "get-help Invoke-SnmpWalk -full". |
|
|
|
SNMPv3
https://www.powershellgallery.com/packages/SNMPv3/1.1.0
...