Get-SCNotifications
Applies To: System Center 2012 - Virtual Machine Manager
Get-SCNotifications
Gets update notifications for a service template or service instance.
Syntax
Parameter Set: Default
Get-SCNotifications [-NotifiedObject] <ClientObject> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCNotifications 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-SCNotifications cmdlet to dismiss notifications.
For more information about Get-SCNotifications, type: "Get-Help Get-SCNotifications -online".
Parameters
-NotifiedObject<ClientObject>
Specifies a service template object or service instance object for which you want to retrieve update notifications.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
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.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
1: Get update notifications for a 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.
PS C:\> $Service = Get-SCService -Name "Service01"
PS C:\> Get-SCNotifications -NotifiedObject $Service