Get-CMSoftwareUpdateDeploymentPackage

Retrieves a deployment package.

Syntax

Get-CMSoftwareUpdateDeploymentPackage
   -Id <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMSoftwareUpdateDeploymentPackage
   [-Name <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

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

Examples

Example 1: Get a deployment package by using a name

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

This command gets a deployment package named Asdset.

Example 2: Get a deployment package by using an ID

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

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

Required Parameters

-Id

Specifies an array of IDs for the deployment package.

Type:String
Aliases:PackageId
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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

Specifies a name for the deployment package.

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