Validates a service template and updates the global settings for the service template.
Description
The Resolve-SCServiceTemplate cmdlet validates a service template and updates the global settings for the service template.
For more information about Resolve-SCServiceTemplate, type: "Get-Help Resolve-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.
Update
Required?
false
Accept Pipeline Input?
false
Position?
named
Updates the settings for an object.
Examples
1: Validate the global settings in a
service template.
The firstcommand gets the Beta release of the service template object named ServiceTemplate01 and stores the object in the $SvcTemplate variable.
The second command validates the global settings for the service template in $SvcTemplate and then displays the warnings (if any) for changes to the global settings.
2: Update the global settings in a
specific service template.
The first gets the service template object that named ServiceTemplate01 with a release value of Beta and stores the object in the $SvcTemplate variable.
The second command updates the global settings for the service template stored in $SvcTemplate.