GuidGenConsole - Generate GUIDs at the Command Line

For those who haven't jumped neck deep in PowerShell, it's a pain to generate GUIDs. That GuidGen app that comes with Visual Studio is a pain.

Everyone's chipped in their own three-line GUID command-line generator, but I wrote one that fits my needs, so I figured I'd post it.

How's it different? Mine emulates the formatting for all of the available formats in standard GuidGen (though, admittedly, I don't use the C++ formats like IMPLEMENT_OLECREATE so someone will have to tell me if what I'm doing is messed up) and it lets you create multiple GUIDs at once. The entire output gets copied to the clipboard, too, so if you just generated 15 GUIDs and you need to paste them into a file, you don't have to copy each individually or generate 15 separate GUIDs.

GuidGenConsole Help

I didn't bother even including a readme or anything with this because it's dead simple.

Download GuidGenConsole
Download GuidGenConsole Source

posted on Wednesday, January 24, 2007 3:10 PM | Filed Under [ Software / Downloads Release Notices .NET ]


Gravatar # re: GuidGenConsole - Generate GUIDs at the Command Line
by Ramsey at 5/16/2008 7:37 PM
I found the MS guidgen.exe, but I hate the GUI / clipboard operation. I need to pull lots of guids for transaction ids and an efficient command line variant was a must. I searched heaven and earth for a tool such as this and either no one uses guids or the generation is built into the code crank tools because no utilities seem to exist for this. Except here. You nailed this implemention and the process works very well with lots of possibiliies. You have my sincere gratatude for making a nice and useful tool.
Comments have been closed on this topic.