The format is based on and uses the types of changes according to Keep a Changelog, and this project adheres to Semantic Versioning.
-
Get-RegistrySubKey
to replaceOpen-RegistrySubKey
. This implementation follows the .net class better -
Invoke-DeleteSubKey
andInvoke-DeleteSubKeyTree
private functions for removing subkeys -
Remove-RegistrySubKey
andRemoving-RegistryKeyTree
public public implementation -
New Private function
Get-RegistrySubKeyOperation
for managing the logic of opening a key or using an existing one provided inRemove-RegistrySubKey
-
New-RegistryKeyValuesObject
:-
Retrieves and exports all the values of a specified registry key or subkey into a custom object. The object includes the registry path, backup date, user, computer name, and a dictionary of the key's values (including data type and value).
-
Supports backing up both root keys and subkeys.
-
-
Get-RegistryValueNames
:- Retrieves all the value names from a specified registry key. This function simplifies the process of listing all registry values for a given key.
-
Get-RegistryValueKind
:- Retrieves the type (kind) of a specified registry key value. This allows for
easy identification of value types such as
String
,DWord
, andBinary
within registry keys.
- Retrieves the type (kind) of a specified registry key value. This allows for
easy identification of value types such as
- Error Handling for
[System.Security.SecurityException]
inOpen-RegistryKey
Get-RegistrySubKey
includes an alias forOpen-RegistrySubKey
to for compatibilityOpen-RegistryKey
too make-RegistryPath
optional to return the root hive
- Added module icon and Psd1 private data
- Quality Tests for functions and comment based help
- Updated Icon png
- Changed
WisherTools.Helpers
to a RequiredModule module vs a nested module
- 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
-
Added 'WisherTools.Helpers' to Nested Modules
-
Updated
build.yaml
to excludeModules/WisherTools.Helpers
from code coverage analysis. -
Refactored
Open-RegistryKey
function to use new helper functionsGet-OpenBaseKey
andGet-OpenRemoteBaseKey
to abstract static method calls for opening registry keys locally or remotely. This improves testability and modularity of the code.