Category: Powershell

Get Virtual Machine ScaleSet private IPs

Sorry for not posting stuff recently i’m really busy working with customers on really big project.In this post i’ll show you some tools i built in order to help myself in my daily work. We’re working on a project that use dozens of virtual machine scalesets and each time they scale new ip are assigned…




How to create an Azure JIT user RBAC role

When you speak about security on a public cloud environment every single action that can reuce the surface attack should be taken. Microsoft Azure provide a very good tool that can enable any port on any VM for a single time and a specific IP, it’s called Just In Time access (JIT) and avaible in…




Pester, Jenkins, Remote & ExitCode

  Continuous integration needs your systems and deployments to be totally controlled and tested. Pester is a good framework for that. I’ve already write about it on this blog. For one of our customer I’ve worked hand to hand with them on Infrastructure Continuous Delivery in Windows Environment. I won’t speak about the VMWare, Chef…




Orchestrate your scripts with workflows – Part 2

As we saw in first part of this posts serie. Workflows are very convenients, but they lack things to be the true killer in PowerShell. The first missing thing is a real way to control your workflow flow ! Control a worklow execution If we speak about orchestration it’s important to consider when your worflow…




Software Defined Network: The last key to a full DevOps world ?

  Following a talk of my brilliant colleague Sylvain Réverault about SDN in an intern SII event, i decided to go deeper in the SDN world and apply it to PowerShell 🙂 But before talking about PowerShell controllinig a Openflow controller, let’s get an eye on what is Software Defined Network! I think the 3…




IIS8 – Create a virtual directory with read and browsing rights

Lately at work a co-worker asked me to script a virtual directory creation in PowerShell: My answer was pretty simple: OK gimme 2 mins ! A little too sure of myself, i’d spin up a vm with a Windows 2012 R2 server, install IIS feature and after few mins on Qwant (yeah, i dropped google…




Desired State Configuration for Linux

  As you (may) know, Desired State Configuration for Linux is available since May 6 on the Microsoft Open Source github ! This version works like a charm alongside Windows Management Framework v5. The goal of this post is to show you how it works and what you need in order to get it working….




Desired State Configuration Azure Extension

  If you read this blog you already heard about few tools in order to apply a Desired State Configuration script to your system. Today i want to write about Azure DSC Extension. This extension, can be used in two ways. The first, and the crappiest, is using the GUI, and you know what? I…




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…




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…