Data ONTAP® PowerShell Toolkit

Cmdlet: Disable-NaSnmp


NAME
Disable-NaSnmp

SYNOPSIS
Disables SNMP protocol.

SYNTAX
Disable-NaSnmp [-Controller <NaController>] [-WarningAction <ActionPreferenc
e>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Disables SNMP protocol.


PARAMETERS
-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: snmp-disable

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

C:\PS>Disable-NaSnmp


Disables snmp protocol.


Name Value
---- -----
Communities {NetApp.Ontapi.Filer.Snmp.CommunityInfo}
Traphosts {x3550rre8.rtprre.testdomain}
Location RTP Building 1 3rd floor lab
IsTrapEnabled True
Contact



RELATED LINKS
Get-NaSnmp
Enable-NaSnmp







 Data ONTAP® PowerShell Toolkit