xSharePoint is now SharePointDsc – what you need to know!

For just over 12 months now we have been working hard to grow the xSharePoint DSC module to let SharePoint 2013 and 2016 administrators use PowerShell Desired State Configuration to manage their SharePoint deployments. We’ve come a long way in the last year, and now with the help of my core team we are making an important transition – we are renaming from “xSharePoint” to “SharePointDsc”. Continue reading “xSharePoint is now SharePointDsc – what you need to know!”

Better approaches to unit testing PowerShell scripts that call SharePoint cmdlets

For those who have come across my blog before you would have seen my recent post on how to unit test PowerShell scripts that call SharePoint cmdlets, which after I posted started a conversation between myself and Jakub JareŇ° (PowerShell MVP and Pester Owner) around the approach I had taken and some of the flaws in it. What ended up coming out of that was a much better approach to what I was doing, as well as a massive refactor of my entire test suite for the xSharePoint DSC resources – so I wanted to capture the approach here for anyone else who is interested. Continue reading “Better approaches to unit testing PowerShell scripts that call SharePoint cmdlets”

Cross server DSC dependency options with Azure Resource Manager templates

One of the topics I have been discussing a little lately around the use of the DSC extension for Azure virtual machines is how to create dependencies for DSC configurations that work between servers.If you’re not familiar with how to use the DSC extension in Azure ARM templates have a read of my previous blog post on the topic. Continue reading “Cross server DSC dependency options with Azure Resource Manager templates”

Using DSC to download from Azure file storage to an Azure VM

I’ve been exploring a lot PowerShell Desired State Configuration lately, and one of the things I’ve come up against was the need to be able to move files from a file share in an Azure storage account, to the local file system of a VM (usually to install software). Now since I’ve been trying to achieve as much as possible using DSC I decided to explore whether or not I could do this through DSC – and the news was good. Continue reading “Using DSC to download from Azure file storage to an Azure VM”

Using Windows Azure Automation Preview to manage Azure VMs

One of the great new features of Microsoft Azure that is currently in preview is the new Automation function. If you haven’t heard about it, the short version of it is that it lets you run PowerShell based workflow runbooks from the Azure datacenters. This presents a bunch of really neat ideas for how we can manage our cloud assets as well as looking at things like scheduling scripts for maintenance or things like that. If you want to know more about the preview check out the info at http://azure.microsoft.com/en-us/documentation/services/automation/. Continue reading “Using Windows Azure Automation Preview to manage Azure VMs”