|
|
Data ONTAP® PowerShell Toolkit
|
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 clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach 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
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|