Set-RegistryKeyValue Null string invalid

Issue #211 resolved
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