in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Team Eli's blog

Use Powershell to get a new GUID

In SharePoint development, you are always in need of generating a unique id (aka GUID) for your features and solutions.  While most developers have a GUID generator setup in Visual Studio, here is a quick alternative if you don't want to open Visual Studio but have Powershell open.

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

 And volia...you have a new GUID that you can use in your application.

Eli

 

Comments

No Comments

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts