<# .SYNOPSIS Gets a new guid .DESCRIPTION This script used sytem.guid to create a new guiod .NOTES File Name : New-Guid Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell .LINK http://www.pshscripts.blogspot.com .EXAMPLE PSH [C:\foo]: .\New-Guid.ps1 Guid
----
8aadd649-9e6b-4f8c-882d-351636ab5ed4
#> ## # Start of Script ## # Create a new GUID $g = [system.guid]::newguid() # Display the new guid $g # End of script
This blog contains PowerShell scripts, more PowerShell scripts and still more PowerShell scripts. Occasionally you may see some organisational posts.
Friday, 25 July 2008
New-Guid.ps1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment