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

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -