PowerShell command to iterate through an entire web application and give you a list of all sites and subsites in the web application. The data is saved in .CSV format and can be viewed in Excel.
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.
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.
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.
Two PowerShell code snippets for getting a list of SharePoint users in a website. Just supply the absolute URL of the site collection. The second script also checks and prints out the users’ permissions on a specified SharePoint list.
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.