Get-CMSoftwareUpdateDeploymentPackage

Get-CMSoftwareUpdateDeploymentPackage

Retrieves a deployment package.

構文

Parameter Set: SearchByName
Get-CMSoftwareUpdateDeploymentPackage [-Name <String> ] [-SecuredScopeNames <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMSoftwareUpdateDeploymentPackage -Id <String[]> [-SecuredScopeNames <String> ] [ <CommonParameters>]

詳細説明

The Get-CMSoftwareUpdateDeploymentPackage cmdlet retrieves a deployment package for a software update. A CMSoftwareUpdateDeploymentPackage object contains one or more software updates.

パラメーター

-Id<String[]>

Specifies an array of identifiers for the deployment package.

エイリアス

PackageId

必須?

true

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-Name<String>

Specifies a name for the deployment package.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-SecuredScopeNames<String>

Specifies an array of security scopes for the deployment package. The default value is Default.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

<CommonParameters>

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

入力

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

出力

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

Example 1: Get a deployment package by using a name

This command gets a deployment package named Asdset.

PS C:\> Get-CMSoftwareUpdateDeploymentPackage -Name "Asdset"

Example 2: Get a deployment package by using an ID

This command gets a deployment package that has the ID ST10000C.

PS C:\> Get-CMSoftwareUpdateDeploymentPackage -Id "ST10000C"

関連トピック

Remove-CMSoftwareUpdateDeploymentPackage

Set-CMSoftwareUpdateDeploymentPackage