Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-NotificationSubscription

Get-NotificationSubscription

Gets notification subscriptions.

Syntax

Parameter Set: FromMonitoringObjectProviderPath
Get-NotificationSubscription [[-Path] <String[]> ] [ <CommonParameters>]

Parameter Set: FromId
Get-NotificationSubscription [-Id] <Guid> [[-Path] <String[]> ] [ <CommonParameters>]




Detailed Description

Gets all notification subscriptions or the particular notification subscriptions with the specified notification subscription ID.

Parameters

-Id<Guid>

Specifies the GUID of the notification subscription 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 subscriptions. 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-NotificationSubscription -detailed". For technical information, type "Get-Help Get-NotificationSubscription -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 subscriptions.


C:\PS>get-notificationsubscription

Related topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.