Releases: webmd-health-services/Carbon.Registry
Releases · webmd-health-services/Carbon.Registry
1.2.2
1.2.1
1.2.0
Added
Get-CRegistryPermission
, Grant-CRegistryPermission
, Revoke-CRegistryPermission
, and
Test-CRegistryPermission
, migrated from Carbon's Get-CPermission
, Grant-CPermission
, Revoke-CPermission
, and
Test-CPermission
.
Upgrade Instructions
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
, and
Test-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
1.1.0
1.0.0
Migrated Carbon registry functions.
Upgrade Instructions
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.
Changed
- 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.
Fixed
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.
Removed
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
.