PowerTip: Create a New GUID by Using PowerShell

The Scripting Guys

Dr Scripto

Summary: Easily use Windows PowerShell to create a new GUID.

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

Hey, Scripting Guy! Answer Use the [guid] type accelerator, and call the NewGuid static method:

[guid]::NewGuid()

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.