Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcEmsDestination


NAME
Set-NcEmsDestination

SYNOPSIS
Modify the specified EMS destination.

SYNTAX
Set-NcEmsDestination [-Name] <String> [-Mail <String[]>] [-Snmp <String[]>]
[-Syslog <String[]>] [-SyslogFacility <String>] [-SnmpCommunity <String>] [-
HideParameters [<Boolean>]] [-Controller <NcController[]>] [<CommonParameter
s>]


DESCRIPTION
Modify the specified EMS destination.


PARAMETERS
-Name <String>
The name of the EMS destination.

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

-Mail <String[]>
The e-mail address to which events are sent.

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

-Snmp <String[]>
The SNMP addresses to which traps are sent.

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

-Syslog <String[]>
The remote syslog servers to which messages are sent.

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

-SyslogFacility <String>
The syslog logging facility.

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

-SnmpCommunity <String>
The SNMP community name.

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

-HideParameters [<Boolean>]
If true, hide parameter values.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
DataONTAP.C.Types.Ems.EmsDestinationInfo


NOTES


Category: ems
API: ems-destination-modify
Family: cluster

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

C:\PS>Set-NcEmsDestination test -Mail admin@localhost


Set the mail address to admin@localhost for EMS destination test on the curr
ent cluster.


HideParameters : False
Mail : {admin@localhost}
Name : test
Snmp :
SnmpCommunity :
Syslog :
SyslogFacility :



RELATED LINKS
Get-NcEmsDestination
New-NcEmsDestination
Remove-NcEmsDestination
Update-NcEmsDestination







 Data ONTAP® PowerShell Toolkit