Get-CMSoftwareUpdateDeploymentPackage

Get a software update deployment package.

Syntax

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

Description

Use this cmdlet to get a deployment package for a software update. A software update deployment package object contains one or more software updates.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get a deployment package by using a name

This command gets a deployment package named Asdset.

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.

Get-CMSoftwareUpdateDeploymentPackage -Id "ST10000C"

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-Id

Specify a package ID for the deployment package to get. This value is a standard package ID, for example XYZ0035C.

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

-Name

Specify the name of the deployment package to get.

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

Inputs

None

Outputs

IResultObject[]

IResultObject

Notes

For more information on this return object and its properties, see SMS_SoftwareUpdatesPackage server WMI class.