Skip to content

1.0.0

Compare
Choose a tag to compare
@whsdevops whsdevops released this 16 Aug 20:52
ae2807b

Migrated Carbon registry functions.

Upgrade Instructions

All functions now require using the C prefix.

  • Replace usages of Get-RegistryKeyValue with Get-CRegistryKeyValue.
  • Replace usages of Remove-RegistryKeyValue with Remove-CRegistryKeyValue.
  • Replace usages of Set-RegistryKeyValue with Set-CRegistryKeyValue.
  • Replace usages of Test-RegistryKeyValue with Test-CRegistryKeyValue.
  • Replace usages of Install-RegistryKey with Install-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,
    and Set-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 (use Get-CRegistryKeyValue instead).
  • Remove-RegistryKeyValue (use Remove-CRegistryKeyValue instead).
  • Set-RegistryKeyValue (use Set-CRegistryKeyValue instead).
  • Test-RegistryKeyValue (use Test-CRegistryKeyValue instead).
  • Install-RegistryKey (use Install-CRegistryKey instead).
  • Parameter Quiet from Set-CRegistryKeyValue.