Tag Archives: GUID

Powershell: Generate a GUID

Hi,

to create a GUID in powershell for the use in your own scripts call the static function NewGuid() from the system.Guid class.

PS D:\> [system.Guid]::NewGuid()
f3f8591a-c1d6-4d82-bec2-d3dac2c1fee5

Michael