Get-CMDeploymentPackage

Get-CMDeploymentPackage

Gets information about deployment packages on a distribution point.

構文

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

詳細説明

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.

パラメーター

-DeploymentPackageName<String[]>

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.

エイリアス

Name

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-DistributionPointName<String>

Specifies an array of names of deployment packages.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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"

関連トピック

Get-CMDeployment

Get-CMDeploymentStatus

Get-CMDeploymentType

Invoke-CMDeploymentSummarization