Save-CMSoftwareUpdate

Save-CMSoftwareUpdate

Saves Configuration Manager software updates.

Syntax

Parameter Set: SearchByNameMandatory
Save-CMSoftwareUpdate -DeploymentPackageName <String> -SoftwareUpdateName <String[]> [-Location <String> ] [-SoftwareUpdateLanguage <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Save-CMSoftwareUpdate -DeploymentPackageName <String> -SoftwareUpdateId <String[]> [-Location <String> ] [-SoftwareUpdateLanguage <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory_UpdateGroup
Save-CMSoftwareUpdate -DeploymentPackageName <String> -SoftwareUpdateGroupId <String[]> [-Location <String> ] [-SoftwareUpdateLanguage <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory_UpdateGroup
Save-CMSoftwareUpdate -DeploymentPackageName <String> -SoftwareUpdateGroupName <String[]> [-Location <String> ] [-SoftwareUpdateLanguage <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Save-CMSoftwareUpdate -DeploymentPackageName <String> -SoftwareUpdate <IResultObject> [-Location <String> ] [-SoftwareUpdateLanguage <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory_UpdateGroup
Save-CMSoftwareUpdate -DeploymentPackageName <String> -SoftwareUpdateGroup <IResultObject> [-Location <String> ] [-SoftwareUpdateLanguage <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Save-CMSoftwareUpdate cmdlet saves one or more software updates in Microsoft System Center 2012 SP1 Configuration Manager.

You can specify one or more software updates associated with deployment packages. You can also specify the location to save the updates.

You can also specify the language of the software updates. Languages determine which summary details a software update synchronizes and the file languages to be downloaded for software updates.

Parameters

-DeploymentPackageName<String>

Specifies a name for a deployment package.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Location<String>

Specifies a location.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdate<IResultObject>

Specifies a software update object. To obtain a software update object, use the Get-CMSoftwareUpdate cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdateGroup<IResultObject>

Specifies a software update group object. To obtain a software update group object, use the Get-CMSoftwareUpdateGroup cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdateGroupId<String[]>

Specifies an array of IDs of software groups.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdateGroupName<String[]>

Specifies an array of names of software groups.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdateId<String[]>

Specifies an array of IDs of software updates.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdateLanguage<String[]>

Specifies an array of software update languages.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SoftwareUpdateName<String[]>

Specifies an array of names of software updates.

Aliases

LocalizedDisplayName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

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: Save a software update by using an ID

This command saves the software update that has the ID 16777373, which is part of the deployment package named PackageDeploy22 in the specified location.

PS C:\> Save-CMSoftwareUpdate -DeploymentPackageName "PackageDeploy22" -SoftwareUpdateId "16777373" -Location "\\ContosoUpdates\PackageDeploy22"

Example 2: Save a software update that has a specified language

This command saves the named software update that is part of package named PackageDeploy24 in the specified location. The command also specifies English as the language for the software updates.

PS C:\> Save-CMSoftwareUpdate -DeploymentPackageName "PackageDeploy24" -SoftwareUpdateGroupName "Accounting package updates" -Location "\\ContosoUpdates\PackageDeploy24" -SoftwareUpdateLanguage English

Set-CMSoftwareUpdate

Sync-CMSoftwareUpdate

Get-CMSoftwareUpdate

Get-CMSoftwareUpdateGroup