Command Shell Reference: Enable-NotificationSubscription
This cmdlet enables the specified notification subscription(s) present in an Operations Manager 2007 Management Group.
SYNTAX
Enable-NotificationSubscription [-NotificationSubscription] <NotificationSubscription> [-WhatIf] [-Confirm] [<CommonParameters>]
Example:
C:\PS>get-notificationsubscription | where-object {$_.disabled -eq $true} | enable-notificationsubscription
Retrieves a list of all DISABLED notification subscriptions in the Management Group and passes them to the enable-notificationsubscription cmdlet, thus enabling them.
Sample Scripts:
Sample scripts and MPs that use the enable-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