Get-SCNotification

Gets update notifications for a service template or service instance.

Syntax

Default (Default)

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.

Parameter properties

Type:ClientObject
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.