Gets a service setting for a service template or a service instance.
Description
Get-SCServiceSetting cmdlet gets one or more service settings for a service template or a service instance.
For more information about Get-SCServiceSetting, type: "Get-Help Get-SCServiceSetting -online".
Parameters
Service
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM service object.
Name
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ServiceConfiguration
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a service configuration object.
Name
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ServiceTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a service template object.
Name
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Examples
1. Retrieve all service settings from
a service template.
The first command gets the service template object named ServiceTemplate01 with the release of Beta and stores the object in the $Template variable.
The second command gets all service settings for ServiceTemplate01 and displays their properties to the user.
2. Retrieve a service setting from a
service configuration.
The first command gets the service configuration object named ServiceConfig01 and stores the object in the $Config variable.
The second command gets the service setting object named Setting01 associated with ServiceConfig01 and stores the object in the $ServiceSetting variable.
The last command displays the properties for the service setting stored in $ServiceSetting.