New-DPMRecoveryNotification
New-DPMRecoveryNotification
Creates a notification object.
Syntax
Parameter Set: Default
New-DPMRecoveryNotification [-NotificationType] <DbEnums+NotificationType> {Email} [-NotificationIdList] <String[]> [ <CommonParameters>]
Detailed Description
The New-DPMRecoveryNotification cmdlet creates a notification object that System Center 2012 – Data Protection Manager (DPM) uses for recovery. DPM currently supports only email notifications.
Parameters
-NotificationIdList<String[]>
Specifies an array of IDs to which the recovery sends notifications.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-NotificationType<DbEnums+NotificationType>
Specifies the type of notification. Currently, the only valid value is email.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- Notification
Examples
Example 1: Create a notification object
This command creates an email notification for an event that DPM sends to Elisa.Daugherty@contoso.com.
PS C:\> New-DPMRecoveryNotification -NotificationType email -NotificationIdList "Elisa.Daugherty@contoso.com"