Generate GUID

From psadt | Evergreen Application Management
Jump to navigation Jump to search

About

Powershell.png

PowerShell function for when you need to generate a custom GUID. I have used this to give a unique GUID to every package when managing applications for an entire organisation.


Function

Function GenerateGUID {

    [guid]::NewGuid().ToString().ToUpper()

}