Microsoft Virtualization Discussions

Invoke-NaSnmpwalk

mark_schuren
3,486 Views

Hi scripters,

I've just stumbled across the Invoke-NaSnmp* cmdlets, and curiously wanted to try them out.

However :

PS H:\> Connect-NaController labfiler08

PS H:\> Invoke-NaSnmpWalk -OID .1.3.6.1.4.1.789.1

Invoke-NaSnmpWalk : Invalid Object Identifier : .1.3.6.1.4.1.789.1

Bei Zeile:1 Zeichen:18

+ Invoke-NaSnmpWalk <<<<  -OID .1.3.6.1.4.1.789.1

    + CategoryInfo          : InvalidOperation: (ucnlabfiler08:NaController) [Invoke-NaSnmpWalk], EONTAPI_EINVAL

    + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Snmp.InvokeNaSnmpWalk

What format type / format do I need for the OID parameter to make this work?

Thanks,

regards,

Mark

1 ACCEPTED SOLUTION

JGPSHNTAP
3,486 Views

Try this.. but you will get everything..

invoke-nasnmpwalk .1.3.6.1.4.1.789.1.1.2.0

I tried to do invoke-nasnmpwalk -RAW but that didn't give us anything..

View solution in original post

2 REPLIES 2

JGPSHNTAP
3,487 Views

Try this.. but you will get everything..

invoke-nasnmpwalk .1.3.6.1.4.1.789.1.1.2.0

I tried to do invoke-nasnmpwalk -RAW but that didn't give us anything..

mark_schuren
3,486 Views

Thanks, this did the trick!

Public