Generate a GUID
The following examples illustrate how to generate a GUID:
In C#:
Copy
//Guid type is available in the System namespace
//So supply a `using System;` as needed.
var operationId = Guid.NewGuid();
In PowerShell:
Copy
> [Guid]::NewGuid()
Guid
----
e6a24aed-4377-4bd4-b535-40903d9d62af