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.
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.
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.
The SharePoint snap-in needs to be loaded before you can execute commands against the SharePoint object model. This snap-in is automatically loaded for you by the SharePoint Management Shell. But the SharePoint management shell does not offer many of the advantages that PowerShell ISE offers (like debugging with breakpoints, etc). To get PowerShell ISE to autoload the SharePoint snap-in, follow the steps in this article.
Part 3 of my series on setting up a SharePoint 2016 development farm on Azure. In this article, we will create a SQL Server 2014 virtual machine (sqlVM) in the virtual network we created in Part 2 of this series. We will make sqlVM a member of the Windows Server AD domain, and prepare it for SharePoint.
You might already be using PowerShell to automate other things in your environment. But if you haven’t started automating your cloud workload with Azure PowerShell, it’s time you take your cloud game to the next level. In this article, I’ll be showing you how to get started managing Azure resources with PowerShell. We’ll install the Azure PowerShell module and connect to your Azure subscription.