Share via


Get-SCApplicationDeployment

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

Syntax

AP (Default)

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

ID

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.

Parameter properties

Type:ApplicationProfile
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AP
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ID

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

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ID
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AP
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

ApplicationDeployment

This cmdlet returns an ApplicationDeployment object.