Get-CMSoftwareUpdateDeploymentPackage
Get-CMSoftwareUpdateDeploymentPackage
Retrieves a deployment package.
Syntax
Parameter Set: SearchByName
Get-CMSoftwareUpdateDeploymentPackage [-Name <String> ] [-SecuredScopeNames <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMSoftwareUpdateDeploymentPackage -Id <String[]> [-SecuredScopeNames <String> ] [ <CommonParameters>]
Detailed Description
The Get-CMSoftwareUpdateDeploymentPackage cmdlet retrieves a deployment package for a software update. A CMSoftwareUpdateDeploymentPackage object contains one or more software updates.
Parameters
-Id<String[]>
Specifies an array of identifiers for the deployment package.
Aliases |
PackageId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name for the deployment package.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SecuredScopeNames<String>
Specifies an array of security scopes for the deployment package. The default value is Default.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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"