Gets application settings for an application or application deployment.
Description
The Get-SCApplicationSetting cmdlet gets application settings for an application or application deployment.
For more information about Get-SCApplicationSetting, type "Get-Help Get-SCApplicationSetting -online".
Parameters
Application
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies an application 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.
ApplicationDeployment
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies an application deployment 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.
ApplicationPackage
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an application package 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: Get all application settings for an
application deployment.
The first command gets the application profile object named SvcWebAppProfile01 and stores the object in the $AppProfile variable.
The second command gets the application deployment object named SvcWebDeployment01 for the application profile stored in $AppProfile and stores the object in the $AppDeployment variable.
The last command gets the application setting objects for the application deployment stored in $AppDeployment and stores the objects in the $AppSetting array (this example assumes that there are multiple settings for the application).
2: Get all application settings for an
application installed on a virtual machine.
The first command gets the virtual machine object named VM01 and stores the object in the $VM variable.
The second command gets the application objects installed on VM01 and stores the objects in the $Apps variable.
The last command gets the application settings for the first application stored in $Apps.