Refershes the properties of a service template and displays the updates in the VMM console.
Description
The Read-SCServiceTemplate cmdlet refreshes the properties of a service template and reflects the updates in the System Center Virtual Machine Manager (VMM) console.
For more information about Read-SCServiceTemplate, type: "Get-Help Read-SCServiceTemplate -online".
Parameters
ServiceTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies a service template object.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
The first command gets the service template object named ServiceTemplate01 and stores the object in the $SvcTemplate variable.
The second command refreshes the properties of the service template stored in $SvcTemplate.