Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Invoke-NcSnmpGet


NAME
Invoke-NcSnmpGet

SYNOPSIS
Retrieves the value of an SNMP object.

SYNTAX
Invoke-NcSnmpGet [-OID] <String> [-Raw] [-Controller <NcController[]>] [<Com
monParameters>]


DESCRIPTION
Retrieves the value of an SNMP object. This is a convenience method, not a
high-performance SNMP query tool.


PARAMETERS
-OID <String>
Fully qualified object identifier of an SNMP object. Only numeric OID's
(ex: .1.3.6.1.4.1.789.1.1.1.0) are allowed.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Raw
Specify Raw to get a string value. Otherwise, an SnmpValue object is wr
itten to the output.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
System.Object


NOTES


Category: snmp
API: snmp-get
Family: cluster

-------------- Example 1 --------------

C:\PS>Invoke-NcSnmpGet 1.3.6.1.4.1.789.1.1.2.0 -Raw


Get the value of the specified OID.


NetApp Release RollingRock__8.1.0 Cluster-Mode: Tue Aug 23 05:34:04 PDT 2011



RELATED LINKS
Invoke-NcSnmpGetNext
Invoke-NcSnmpWalk







 Data ONTAP® PowerShell Toolkit