Get-NotificationRecipient
Get-NotificationRecipient
Gets notification recipients.
Syntax
Parameter Set: FromMonitoringObjectProviderPath
Get-NotificationRecipient [[-Path] <String[]> ] [ <CommonParameters>]
Parameter Set: FromId
Get-NotificationRecipient [-Id] <Guid> [[-Path] <String[]> ] [ <CommonParameters>]
Detailed Description
Gets all notification recipients or the particular notification recipient with the specified notification recipient ID.
Parameters
-Id<Guid>
Specifies the GUID of the notification recipient to retrieve.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-Path<String[]>
Specifies the path or set of paths of management groups for which to retrieve notification recipients. To enter multiple values, separate them by using commas.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Notes
- For more information, type "Get-Help Get-NotificationRecipient -detailed". For technical information, type "Get-Help Get-NotificationRecipient -full".
When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".
Examples
-------------- EXAMPLE 1 --------------
This command gets all notification recipients.
C:\PS>get-notificationrecipient