Get-SCApplicationDeployment

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCApplicationDeployment

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

Syntax

Parameter Set: AP
Get-SCApplicationDeployment -ApplicationProfile <ApplicationProfile> [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: ID
Get-SCApplicationDeployment -ID <Guid> [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed 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<ApplicationProfile>

Specifies an application profile object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-ID<Guid>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of a VMM object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ApplicationDeployment

Examples

1: Get all application deployments associated with a specific application profile.

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.

PS C:\> $AppProfile = Get-SCApplicationProfile -Name "SvcWebAppProfile01"
PS C:\> $AppDeployment = Get-SCApplicationDeployment -ApplicationProfile $AppProfile
PS C:\> $AppDeployment

Add-SCApplicationDeployment

Remove-SCApplicationDeployment

Set-SCApplicationDeployment