PowerShell Guid Generation

By | 03/07/2013

Learning WIX at the minute and needed a Guid for the product ID, a quick search found an easy solution using PowerShell.  To  make it easier to paste into another application, this was my solution;

[System.Guid]::NewGuid().toString() | clip

powershell guid

This puts the Guid straight into the clipboard, ready to be used.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.