Command Shell Reference: Get-NotificationSubscription
This cmdlet retrieves notification subscriptions present in an Operations Manager 2007 Management Group.
SYNTAX
Get-NotificationSubscription [[-Path] [<String[]>]] [<CommonParameters>]
Get-NotificationSubscription [-Id] <Guid> [[-Path] [<String[]>]] [<CommonParameters>]
Example:
C:\PS>Get-NotificationSubscription | fl DisplayName, Description, ToRecipients, CcRepients, BccRecipients
Retrieves a list of all notification subscriptions in the Management Group.
Sample Scripts:
Sample scripts and MPs that use the get-notificationsubscription cmdlet.
For a complete list of Operations Manager Command Shell samples and examples as they are published, see the Operations Manager 2007 Command Shell Online Reference at http://www.systemcenterforum.org/commandshell