Home > PowerShell > Generate GUID using PowerShell

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:\>

Categories: PowerShell Tags:
  1. No comments yet.
  1. No trackbacks yet.
Notify me of follow-up comments via email.