WinRegOps
0.2.0
The module is designed to handle tasks like retrieving specific registry values, exporting registry keys, managing subkeys, and removing keys with enhanced error handling. It allows for seamless interaction with the Windows registry across various environments and use cases, such as system configuration, profile management, and application settings.
This module can be used independently or as a dependency for higher-level management modules, offering flexibility and reliability in registry operations.
Key features:
- Open registry keys (local and remote).
- Query and retrieve registry values.
- Create, delete, and backup registry keys and subkeys.
- Built-in error handling for permission issues and remote access.
- Works with multiple registry hives (e.g., HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER).
Typical use cases include:
- Simplifying registry access in complex automation tasks.
- Providing a reliable registry management layer for other modules like ProfileManagement.
- Managing the lifecycle of registry keys during system configuration changes.
Minimum PowerShell version
5.0
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2024 LarryWisherMan. All rights reserved.
Package Details
Author(s)
- LarryWisherMan
Functions
Backup-RegistryKey Export-RegistryKey Get-RegistryValue Open-RegistryKey Open-RegistrySubKey Remove-RegistrySubKey
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0] - 2024-09-09
### Added
- Added core functions
- Added comment-based help to all public functions in the `WinRegOps` module for improved usability:
- `Backup-RegistryKey`
- `Export-RegistryKey`
- `Get-RegistryValue`
- `Open-RegistryKey`
- `Open-RegistrySubKey`
- `Remove-RegistrySubKey`
- Added unit test skeletons for all public functions in the WinRegOps
### Changed
- Added 'WisherTools.Helpers' to Nested Modules
- Updated `build.yaml` to exclude `Modules/WisherTools.Helpers` from code coverage analysis.
- ### Changed
- Refactored `Open-RegistryKey` function to use new helper functions `Get-OpenBaseKey` and `Get-OpenRemoteBaseKey` to abstract static method calls for opening registry keys locally or remotely. This improves testability and modularity of the code.
FileList
- WinRegOps.nuspec
- WinRegOps.psd1
- Modules\WisherTools.Helpers\0.1.0\WisherTools.Helpers.psm1
- WinRegOps.psm1
- Modules\WisherTools.Helpers\0.1.0\WisherTools.Helpers.psd1
- Modules\WisherTools.Helpers\0.1.0\en-US\about_WisherTools.Helpers.help.txt
- en-US\about_WinRegOps.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
0.4.0-previe... | 17 | 9/24/2024 |
0.4.0-previe... | 17 | 9/18/2024 |
0.4.0-previe... | 4 | 9/17/2024 |
0.4.0-previe... | 8 | 9/16/2024 |
0.3.0 | 27 | 9/11/2024 |
0.3.0-previe... | 2 | 9/11/2024 |
0.3.0-previe... | 8 | 9/9/2024 |
0.3.0-previe... | 2 | 9/9/2024 |
0.2.0 (current version) | 8 | 9/9/2024 |