Tag: DSC

PowerShell Desired State Configuration resources for WSUS

  It’s been a long time i wanted to finish theses PowerShell Desired State Configuration resources to work with WSUS Configuration.Indeed, we have many servers that are not in domain, outside the WSUS GPO scope, but, they also need to be up to date, i’m sure you know why! So after few days of work…




Build your Azure lab with DSC and validate it using Pester – 2/3

  After the first post of this series, we have now four virtual machines. The goal, now, is to apply Configurations. In order to apply configurations, you must use at least Azure SDK 0.8.6. In order to validate if your version is compatible, you can try this command:

This will permit to check if…




Build your Azure lab with DSC and validate it using Pester – 1/3

  Here is another post about DSC & Pester.. Yes, because they are truly the perfect combo to work with. Just do you script and Pester will test everything you need for you 🙂 (I know i’m repeating myself…) So let’s go build our lab. What is neeeded in order to build my lab: A…




Microsoft Techdays 2015 – Les sessions PowerShell à ne pas manquer !

  Pour une fois, le billet sera plus simple à écrire pour moi, car c’est en français et ça fait du bien. Les agenda pour les Techdays qui auront lieu du 10 au 12 Février 2014 ont été mis à jour cette semaine et on y trouve (un peu) de sessions parlant de PowerShell !…




Create your first Pester script to test a DSC resource

  Maybe you already took a look to my previous post about Pester, Git and PowerShell interraction… If not, you really should before read this one. I won’t re-explain why it’s important for your work to use them, now, i will talk about how use them together to get your work done. Actually, i will…




DSC resource for managing SNMP configuration

Desired State Configuration is a key feature in PowerShell, even more with the last November preview, available since yesterday ! So, little by little, i’m migrating all my customization steps from powershell scripts to DSC Resources, and today i decided to share a quick one, but a mandatory part of my servers configuration, the monitoring…




DSC Resource: Create an unattend.xml file

Today, it’s a quick post to give you a custom dsc Resource of mine.. Bellow, here is a script that you have to reg in a *.psm1 file to enable you creating very basic unattend.xml file for your installations, it’s very helpfull when building your home lab, or other infras 🙂 Like always with DSC,…




Writting custom DSC resource

During the European PowerShell summit, the hackaton was focused on 4 subjects, but only one direction:  Build a custom DSC resource for the community. It was very intresting, and like after each IT Event, you come home with many many ideas… Your wife still doesn’t like it but… Anyway, if you weren’t at the summit:…




Desired State Configuration is mostly awesome…

But, sometimes you can’t use it! As i’m working on my script for Rebuild conf. I’m facing terribly issues with Exchange 2013 installation with DSC. I will show you how you can “install” Exchange 2013 remotely mostly with DSC.. First of all, you need to install Windows features and roles.. this is the easy part…




Desired State Configuration – xADDomain (Configure your domain)

Hi, It’s been a while i hadn’t publish a post on this blog. Mainly because i’m really busy at work 😉 So now, it’s time to work on a session i’ve submited for Microsoft ReBuild here in France.. This session will focus on DSC and Azure. So my first need is a Domain, i’ve looked…