PowerTip: Create a GUID with PowerShell 5


Summary: Learn how to create a new GUID with Windows PowerShell 5.0.

Hey, Scripting Guy! Question How can I use Windows PowerShell 5.0 in Windows 10 to create a new GUID?

Hey, Scripting Guy! Answer Use the New-Guid cmdlet:

Comments (1)

  1. Mike Crowley says:

    For earlier versions

    [Guid]::NewGuid()

Skip to main content