Before updating a SharePoint solution you inherited from another developer, you may first want to download and save a copy of the currently deployed WSP solution file in SharePoint central admin. Here’s how to do that with 3 lines of PowerShell code.
PowerShell
PowerShell script to delete SharePoint orphaned users
Orphaned users in SharePoint are users that have been disabled or completely deleted from active directory but are still referenced in list items and sites, and especially in the SharePoint people picker control. This article explains how to remove them using PowerShell.
Credential encryption and security in MOF files
PowerShell desired state configuration scripts often request user credentials which then need to be stored in some form in the output MOF files. Since you never want to save passwords as clear text, this article explains how you can keep passwords secure and encrypted inside your MOF files.
Managing SharePoint Site Access Requests with PowerShell
Access requests can be configured per site in SharePoint site settings. And there are quite a few PowerShell scripts out there to set the value of the email address that receives the notifications. However, what if you prefer to completely turn off the site access requests feature for all your websites in one shot, and then just display an access denied message when necessary? This article provides a PowerShell script for that purpose.
PowerShell Desired State Configuration (DSC): An Introduction
I have been playing a lot with PowerShell desired state configuration (DSC) recently and so, I decided to write an introductory post on it. In this article, I explain at a high level what PowerShell DSC is all about. And then, I provide a simple example that demonstrates at a basic level how PowerShell desired state configuration works.
Increase list template maximum size in SharePoint
If you work with content migration in SharePoint sites, you may often need to save lists and libraries as templates so that you can re-use them in other sites. This article shows how to fix the error that occurs when the list template maximum size is greater that 50 MB (or 52428800 bytes).