Get-SCNotification

Gets update notifications for a service template or service instance.

Syntax

Get-SCNotification [-NotifiedObject] <ClientObject> [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Get-SCNotification cmdlet gets the update notifications for a service template or service instance. Update notifications alert you to updated resources that are available for a service template or service instance. Use the Set-SCNotification cmdlet to dismiss notifications.

Examples

Example 1: Get update notifications for a service

PS C:\> $Service = Get-SCService -Name "Service01"
PS C:\> Get-SCNotification -NotifiedObject $Service

The first command gets the service object named Service01 and stores the object in the $Service variable.

The second command gets all update notifications for Service01.

Parameters

-NotifiedObject

Specifies a service template object or service instance object for which you want to retrieve update notifications.

Type:ClientObject
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False