The Get-SCScriptCommandSetting cmdlet gets the settings that have been configured on a script command.
For more information about Get-SCScriptCommandSetting, type "Get-Help Get-SCScriptCommandSetting -online".
Parameters
ScriptCommand
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a script command object.
Examples
1: Get the script command settings for
a specific script command.
The first command gets the application profile object named SvcWebAppProfile01 and stores the object in the $AppProfile variable.
The second command gets the script command object named PostInstall and stores the object in the $ScriptCommand variable.
The last command gets the script command settings for the script command stored in $ScriptCommand and displays the settings for the user.