Export (0) Print
Expand All
Expand Minimize

Get-CMDeploymentPackage

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Get-CMDeploymentPackage

Gets information about deployment packages on a distribution point.

Syntax

Parameter Set: SearchByName
Get-CMDeploymentPackage -DistributionPointName <String> [-DeploymentPackageName <String[]> ] [ <CommonParameters>]




Detailed Description

The Get-CMDeploymentPackage cmdlet gets information about one or more deployment packages on a distribution point. If you do not specify the DeploymentPackageName parameter, Microsoft System Center 2012 Configuration Manager returns all the deployment packages on the distribution point that you specify.

A deployment package is a System Center 2012 Configuration Manager object that contains the content files and instructions for distributing programs, software updates, boot images, operating system images, and drivers to System Center 2012 Configuration Manager clients.

Parameters

-DeploymentPackageName<String[]>

Specifies the name of a distribution point that is associated with the deployment package. If you do not specify this parameter, the cmdlet returns status information about all deployment packages on the distribution point.


Aliases

Name

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DistributionPointName<String>

Specifies an array of names of deployment packages.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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.

Examples

Example 1: Get all deployment packages for a distribution point

This command gets all deployment packages that are distributed to clients from the distribution point named CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM.


PS C:\> Get-CMDeploymentPackage -DistributionPointName "CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM"

Example 2: Gets a deployment package for a distribution point

This command gets the deployment package named Depack01 that is distributed to clients from the distribution point named CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM.


PS C:\> Get-CMDeploymentPackage -DistributionPointName "CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM" -DeploymentPackageName "Depack01"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft