|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaSnmpCommunity
NAME
Remove-NaSnmpCommunity
SYNOPSIS
Deletes a community from the list of communities.
SYNTAX
Remove-NaSnmpCommunity [-Community] <String> [-Controller <NaController>] [-
WhatIf] [-Confirm] [<CommonParameters>]
Remove-NaSnmpCommunity -All [-Controller <NaController>] [-WhatIf] [-Confirm
] [<CommonParameters>]
DESCRIPTION
Deletes a community from the list of communities.
PARAMETERS
-Community <String>
Community name to be deleted.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-All
Specify -All to delete all communities.
Required? true
Position? named
Default value false
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
DataONTAP.Types.Snmp.SnmpStatusInfo
NOTES
Category: snmp
API: snmp-community-delete, snmp-community-delete-all
-------------- Example 1 --------------
C:\PS>Remove-NaSnmpCommunity public
Remove the 'public' community.
Communities : {}
Contact :
IsTrapEnabled : True
Location :
Traphosts : {x3550rre8.rtprre.testdomain}
-------------- Example 2 --------------
C:\PS>Remove-NaSnmpCommunity -All
Remove all SNMP communities.
Communities : {}
Contact :
IsTrapEnabled : True
Location :
Traphosts : {x3550rre8.rtprre.testdomain}
RELATED LINKS
Add-NaSnmpCommunity
Get-NaSnmp
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|