Get-CMDeploymentPackage

Gets information about deployment packages on a distribution point.

Syntax

Get-CMDeploymentPackage
   [-DeploymentPackageName <String>]
   [-DisableWildcardHandling]
   -DistributionPointName <String>
   [-ForceWildcardHandling]
   [<CommonParameters>]

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 Configuration Manager returns all the deployment packages on the distribution point that you specify.

A deployment package is a 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 Configuration Manager clients.

Examples

Example 1: Get all deployment packages for a distribution point

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

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

Example 2: Get a deployment package for a distribution point

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

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

Required Parameters

-DistributionPointName

Specifies an array of names of deployment packages.

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

Optional Parameters

-DeploymentPackageName

Specifies an array of names of distribution points that are associated with deployment packages. If you do not specify this parameter, the cmdlet returns status information about all deployment packages on the distribution point.

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

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False