Problem with set-registrykey

I have a simple deployment script that makes some registry changes to the values that are set by the installer.

Set-RegistryKey -Key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\blahblahblah’ -Name ‘blahblahblah’ -Value ‘00000bb5’ -Type DWORD

This should take the existing value name “blahblahblah” and change the value from “something” to “00000bb5”.

It changes the value, but it also changes the existing DWORD to a String.

How can I prevent it from converting it to a string?

I think I figured it out. I need to enter the decimal equivalent, not the Hex into the line.

I think I figured it out. I need to enter the decimal equivalent, not the Hex into the line.