Save-Registry
PackageDeployment Module Help |
Package Deployment Module |
Save-Registry Cmdlet |
Version 4.0.0.5 |
Save-Registry
Synopsis
Save Registry Key to File
Syntax
Save-Registry [-KeyPath] <String> [-FilePath] <String> [[-Context] <String>] [-ContinueOnError] [-Wow64] [<CommonParameters>]
Description
Use this command to save all registry keys including all subkeys and values in a file.
If an error occurs while running the command, the script stops. If you want to continue the script if there is an error, enable the setting Continue script despite error in the Script Editor.
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
-FilePath <String> |
||||||
Enter the name of the file you want to save the registry information to. |
||||||
|
-KeyPath <String> |
||||||
Enter the key you want to save. You may also use one of the following predefined values: HKEY_CLASSES_ROOT, (HKEY_CURRENT_USER), HKEY_LOCAL_MACHINE, HKEY_USERS. |
||||||
|
-Wow64 <SwitchParameter> |
||||||
Use WOW64 on x64 computers. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |