Get-SCNotification

Gets update notifications for a service template or service instance.

Syntax

Get-SCNotification
   [-VMMServer <ServerConnection>]
   [-NotifiedObject] <ClientObject>
   [<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
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

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