Get-SCApplicationDeployment

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

Syntax

Get-SCApplicationDeployment -ApplicationProfile <ApplicationProfile> [-Name <String>]
 [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCApplicationDeployment -ID <Guid> [-VMMServer <ServerConnection>] [<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
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ID

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

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

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

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

Specifies a VMM server object.

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

Outputs

ApplicationDeployment

This cmdlet returns an **ApplicationDeployment** object.