how to create a guid in powershell

C++
New-Guid
Source

Also in C++: