Modify the Members Web Part with PowerShell

Ben SteginkUncategorized1 Comment

I’m sticking with PowerShell again for this blog post, this time it will be updating the members web part on a SharePoint page.  If you read my last post we were using PowerShell to provision the entire site.  This was another piece of the provisioning process.  The web part was already on the site template, but b/c the site hadn’t been provisioned yet, we could set the SharePoint group we wanted displayed in the Members web part, so we used this powershel script to do it:

Hope this helps out and feel free to leave comments about what other tasks you would like to see done with PowerShell.