|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NcEmsDestination
NAME
New-NcEmsDestination
SYNOPSIS
Create an EMS destination.
SYNTAX
New-NcEmsDestination [-Name] <String> [-Mail <String[]>] [-Snmp <String[]>]
[-Syslog <String[]>] [-SyslogFacility <String>] [-SnmpCommunity <String>] [-
HideParameters] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<Common
Parameters>]
DESCRIPTION
Create an 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
If set to true, hide parameter values.
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
-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
<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-create
Family: cluster
-------------- Example 1 --------------
C:\PS>New-NcEmsDestination test -Mail admin@test.test
Create a new EMS destination named test with an email.
HideParameters : False
Mail : {admin@test.test}
Name : test
Snmp :
SnmpCommunity :
Syslog :
SyslogFacility :
RELATED LINKS
Get-NcEmsDestination
Remove-NcEmsDestination
Update-NcEmsDestination
Set-NcEmsDestination
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|