Generate GUID using PowerShell

Ever needed to generate a GUID quickly?

Just open a Microsoft Windows PowerShell and use this cmdlet.

[System.Guid]::NewGuid().ToString()

PS C:\> [System.Guid]::NewGuid().ToString()
76dd7b90-c15a-4ac8-b5e1-8a6273948327
PS C:\>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">