Category: Powershell

Quick VMWare inventory script

  here is a little script i use to gather few informations from our VMWare farm. This snippet goal is to retrieve informations about CPU, Cores and disks in a variable in order to do some filtering on informations, to brainstorm about new solutions, specially storage solution. I’ve find many scripts on the internet, but…




What is your PowerShell resolution ?

  I’ve just read the Boe Prox blog post about PowerShell resolution for 2015, and now it’s my turn. 2014 was such a great year for me, I was honored by a PowerShell MVP award, spoke with Carlo Mancini during French Techdays, on BreizhCamp and MUG Ouest in my hometown. As well, the PowerShell Summit…




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…




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…




Why you should use Pester and evolve to the devops side ?

  If you follow this blog, or maybe we already met before, you know i’m not a developper, actuallyt, i’m really far away from that 🙂 But, in your life, you can’t be always right, there are (many) times when you need to rethink about the whole situation. that’s exactly what’s happening to me now….




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…