Updating dependencies.
Released 4 Dec 2024
Reducing directory depth of internal, private, nested modules.
Released 10 Jun 2024
Added Get-CRegistryPermission
, Grant-CRegistryPermission
, Revoke-CRegistryPermission
, and
Test-CRegistryPermission
, migrated from Carbon's Get-CPermission
, Grant-CPermission
, Revoke-CPermission
, and
Test-CPermission
. If you are switching from Carbon to Carbon.Registry, do the following:
-
Rename usages of
Get-CPermission
,Grant-CPermission
,Revoke-CPermission
, andTest-CPermission
that operate on registry keys/paths toGet-CRegistryPermission
,Grant-CRegistryPermission
,Revoke-CRegistryPermission
, andTest-CRegistryPermission
. -
Replace usages of the
Test-CRegistryPermission
function's-Exact
switch to-Strict
. -
Using the table below, replace usages of
Grant-CRegistryPermission
andTest-CRegistryPermission
arguments in the left column with the new arguments from the right column.Old Argument New Argument(s) -Permission Container
-Permission KeyOnly
-Permission SubContainers
-Permission SubkeysOnly
-Permission ChildContainers
-Permission SubkeysOnly -OnlyApplyToChildKeys
-Permission ContainerAndSubContainers
-Permission KeyAndSubkeys
-Permission ContainerAndChildContainers
-Permission KeyAndSubkeys -OnlyApplyToChildKeys
Released 26 Jan 2024
Added Uninstall-CRegistryKey
function for deleting a registry key without errors if it doesn't exist.
Released 16 Aug 2023
Migrated Carbon registry functions.
All functions now require using the C
prefix.
- Replace usages of
Get-RegistryKeyValue
withGet-CRegistryKeyValue
. - Replace usages of
Remove-RegistryKeyValue
withRemove-CRegistryKeyValue
. - Replace usages of
Set-RegistryKeyValue
withSet-CRegistryKeyValue
. - Replace usages of
Test-RegistryKeyValue
withTest-CRegistryKeyValue
. - Replace usages of
Install-RegistryKey
withInstall-CRegistryKey
.
Remove usages of the Quiet
switch from usages of Set-CRegistryKeyValue
. That switch was removed.
- Replaced verbose-level messages with information-level messages in
Install-CRegistryKey
,Remove-CRegistryKeyValue
, andSet-CRegistryKeyValue
when saving changes. Set-CRegistryKeyValue
accepts$null
as the value of a multi-line string, which sets the value to an empty list.
Set-CRegistryKeyValue
fails to set multiline string values to an empty list.Set-CRegistryKeyValue
sets the value of a multiline string even if the value hasn't changed.
Get-RegistryKeyValue
(useGet-CRegistryKeyValue
instead).Remove-RegistryKeyValue
(useRemove-CRegistryKeyValue
instead).Set-RegistryKeyValue
(useSet-CRegistryKeyValue
instead).Test-RegistryKeyValue
(useTest-CRegistryKeyValue
instead).Install-RegistryKey
(useInstall-CRegistryKey
instead).- Parameter
Quiet
fromSet-CRegistryKeyValue
.