1. Aaron Jensen
  2. Carbon
  3. Issues
Issue #211 resolved

Set-RegistryKeyValue Null string invalid

Anonymous created an issue

Using Set-RegistryKeyValue and trying to set a string value to null generates an error.

Set-RegistryKeyValue : Cannot bind argument to parameter 'String' because it is an empty string.

The workaround is to set the value to a non-null value and then to null with Set-ItemProperty

Comments (1)

  1. Log in to comment