Powershell format string -
I am trying to change the following string (this is the server's UUID) E376B527-CD96-4AC9-B6F8- 218987D196DB This format (which I can insert in the registry) 0xE3,0x76,0x6B, 0x27
This You will find hex values in the form of bytes as a bit to repeat the sequence:
[guid] :: parse ('E376B527-CD96-4AC9-B6F8-218987D196DB'). ToByteArray () | % {"0x {0: X2}" -f $ _}
Comments
Post a Comment