Generate a New GUID

GUIDs are "Globally Unique Identifiers," which are so random that you can safely assume they are unique worldwide. GUIDs are used whenever you want to make sure you get a truly unique ID. Use them to identify components or generate unique file names. Here is how you generate new GUIDs:

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

Posted Jan 22 2009, 08:00 AM by ps1
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.