SharePoint Cmdlets

Working with SPSite(Info) Objects Using PowerShell

Working with SPSite(Info) Objects Using PowerShell

One of the first PowerShell cmdlets I built, Get-SPSite, addresses some common issues found with working with SPSite objects. I struggled with how I could provide a means to quickly and easily get SPSite objects while at the same time helping administrators so they don’t have to worry (as much) about object disposal.

Continue Reading
Recalculating Usage Statistics via STSADM or PowerShell

Recalculating Usage Statistics via STSADM or PowerShell

I was perusing through the SharePoint forums the other day and I came across an issue that someone was having with the usage statistics information for their My Sites site collections.

Continue Reading
Initial Release of My SharePoint PowerShell Cmdlets

Initial Release of My SharePoint PowerShell Cmdlets

Update 4/25/2009: I’ve removed the -gl suffix from all my cmdlets – any examples using the -gl in the cmdlet name should be updated. If you’ve been following my blog you’ll remember that I recently pushed out a “beta” build of some SharePoint PowerShell Cmdlets for some initial feedback and reviews.

Continue Reading
My New PowerShell Cmdlets for SharePoint 2007: Feedback Requested!

My New PowerShell Cmdlets for SharePoint 2007: Feedback Requested!

Okay all you PowerShell superstars out there that have been using my STSADM commands – I need your help! I’ve decided to teach myself PowerShell and see if I can’t leverage some of my STSADM experiences/code to expose some SharePoint functionality and I need some people who really know this PowerShell stuff to please take a look at what I’ve got so far and let me know if I’m way off base or not.

Continue Reading