|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaSnmpLocation
NAME
Set-NaSnmpLocation
SYNOPSIS
Sets the SNMP location.
SYNTAX
Set-NaSnmpLocation [-Location] <String> [-Controller <NaController>] [-Warni
ngAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>
]
DESCRIPTION
Sets the location name returned by the SNMP agent as the System.sysLocatio
n.0 MIB-II variable.
PARAMETERS
-Location <String>
The new location value.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
Required? false
Position? named
Default value
Accept pipeline input? false
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.Collections.Hashtable
NOTES
Category: snmp
API: system-cli
-------------- Example 1 --------------
C:\PS>Set-NaSnmpLocation "Main lab"
Set the SNMP location value.
Name Value
---- -----
Communities {}
Traphosts {x3550rre8.rtprre.testdomain}
Location Main lab
IsTrapEnabled True
Contact Bill Smith
RELATED LINKS
Get-NaSnmp
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|