Get-SCNotification
Get-SCNotification
Gets update notifications for a service template or service instance.
構文
Parameter Set: Default
Get-SCNotification [-NotifiedObject] <ClientObject> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
詳細説明
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.
パラメーター
-NotifiedObject<ClientObject>
Specifies a service template object or service instance object for which you want to retrieve update notifications.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example Example 1: Get update notifications for a service.
The first command gets the service object named Service01, and then 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-SCNotification -NotifiedObject $Service