Subscribe
Search
« Assessing the impact of Supermicro BMC vulnerability with PowerShell | Main | Start-CHARGENAmpAttack – Looking at CHARGEN protocol denial of service attacks »
Wednesday
Jun182014

Creating GUIDs with PowerShell

This will be a really short ones folks, but this is something I have found incredibly useful over the last few days.

Ever needed to create a GUID from within PowerShell? Well it turns out to be incredibly easy, we just leverage the .Net framework.

To create a GUID, simply use "[GUID]::NewGuid().GUID" and that will return the GUID as a string.

I told you this would be short and simple.

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.