Get-SCApplicationDeployment

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

Syntax

Get-SCApplicationDeployment
   [-VMMServer <ServerConnection>]
   -ApplicationProfile <ApplicationProfile>
   [-Name <String>]
   [<CommonParameters>]
Get-SCApplicationDeployment
   [-VMMServer <ServerConnection>]
   -ID <Guid>
   [<CommonParameters>]

Description

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

Examples

Example 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.

Parameters

-ApplicationProfile

Specifies an application profile object.

Type:ApplicationProfile
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Outputs

ApplicationDeployment

This cmdlet returns an ApplicationDeployment object.