Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Restore-CMApplicationRevisionHistory

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 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 (http://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.

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft