Get-SCApplicationDeployment

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.

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 (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 (http://go.microsoft.com/fwlink/p/?LinkID=113216).

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

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

The first command gets the application profile object named SvcWebAppProfile01, and then 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 then 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

Related topics

Community Additions

ADD
Show: