Get-SCApplicationDeployment

Gets the applications that have been added to an application profile.

Description

The Get-SCApplicationDeployment cmdlet gets the applications that have been added to an application profile.

For more information about Get-SCApplicationDeployment, type: "Get-Help Get-SCApplicationDeployment -online".

Parameters

ApplicationProfile

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies an application profile object.

Name

Required? true
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.

ID

Required? true
Accept Pipeline Input? false
Position? named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get all application deployments associated with a specific application profile.
PS C:\> $AppProfile = Get-SCApplicationProfile -Name "SvcWebAppProfile01"
PS C:\> $AppDeployment = Get-SCApplicationDeployment -ApplicationProfile $AppProfile
PS C:\> $AppDeployment
The first command gets the application profile object named SvcWebAppProfile01 and stores the object in the $AppProfile variable.

The second command gets all of the application deployment objects for the application profile stored in $AppProfile and stores the objects in the $AppDeployment array.

The last command displays the application deployment objects stored in $AppDeployment to the user.

See Also