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.

Required 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
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

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