I am attempting to use Powershell to search a text file that contains output of registry REG_DWORD values that are in HEX. I can find the values, now I just need to convert those values to decimal and pipe them to a new file.
The pattern is 'REG_WORD xxxxxxxx' where xxxxxxxx is the hex value. The catch is, the hex value does not include preceding zeros. So, for example, the value may be hex 451 which is 1105 in decimal.
Haven't posted in awhile, so if more info is needed, I can provide. Thanks in advance for the help. This will be part of a powershell script, but is not dependent on the rest of the script.
Start Free Trial