PowerShell Snippets

It seems I write PowerShell about 20% of my time now as a SharePoint architect and developer. However, I can’t seem to easily locate all the PowerShell as I move from project to project and team to team. Most of the previously mentioned PowerShell is quite customer specific so I won’t post any of that here, but just for my sake of locating it, here are my current PowerShell snippets.

Empty Guid:


Random Guid:


Guid with a value: