Export (0) Print
Expand All
Expand Minimize

Restore-CMApplicationRevisionHistory

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Restore-CMApplicationRevisionHistory

Restores a previous version of a Configuration Manager application from the application revision history.

Syntax

Parameter Set: SearchByNameMandatory
Restore-CMApplicationRevisionHistory -Name <String[]> -Revision <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Restore-CMApplicationRevisionHistory -Id <String[]> -Revision <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Restore-CMApplicationRevisionHistory -InputObject <IResultObject> -Revision <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Restore-CMApplicationRevisionHistory cmdlet restores a previous version of a Microsoft System Center 2012 Configuration Manager application. You can use the revision history that System Center 2012 Configuration Manager creates and maintains for each application to choose the version of the application that you want to restore.

If you restore an application version from the history, System Center 2012 Configuration Manager might automatically replace currently installed copies of the application the next time it evaluates the deployment schedule. For more control over application replacement, create a new application that supersedes the application that you want to replace, and then deploy this application to the required collection.

Parameters

-Id<String[]>

Specifies an array of IDs of application revision histories.


Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies an object that contains an application revision history. To obtain this object, use the Get-CMApplicationRevisionHistory cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

Specifies an array of names of application revision histories.


Aliases

LocalizedDisplayName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Revision<Int32>

Specifies the version number of the application revision that you restore.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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.

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.

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft