Category: Powershell

Orchestrate your scripts with workflows – Part 1

Availables within PowerShell v3, workflows were created to bring you a solution to orchestrate and coordinate your multimachines sequences. Workflows are robust, reliable and handle long running tasks! According my experience, many peoples know about them, but not so many administrators use them. Let’s have a full visit about using them, and building them….




Back to basics: Hashtables

One of the most usefull features in PowerShell are arrays, i already talked about them in a previous post. Today i’ll write about their sister: Hashtables. Hashtables are really awesome for your daily scripting work, in many scripts they are at the center becauseyou can access item not  only with the index, but by whatever…




Geolocalisation function

Hi, Today i’ll just share a little function to use a public REST API to use Geolocalisation in your PowerShell scripts. Everything need to use it is in the help bellow….




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…




Back to Basics: Arrays

In PowerShell, arrays are a wonderfull and very powerfull tools which will help you in your daily labor. Today, i wanna speak about that, returning to the basics and help you mastering it. Mosts of your scripts deal with multiple servers, files, and more. PowerShell arrays can’t be used like any other data types, you…




Back to basics: The pipeline

Here we go again! Another Power The Shell blog post. Today, let’s go back to basics ! We’ll talk about the pipeline. If I read the definition in a dictionary, it’s common sense for another people out of the PowerShell business that it’s something that is transporting gasoil from one point to another. Well, it’s…




Get host file entries

Hello, This is a quick script to help you in your daily work, in fact a script to list entries of you hosts file 🙂

Regards,




Install/Uninstall OneGet specific version package

As you may know, Windows Framework Management 5 is out as a preview, for already two weeks. Sadly, i didn’t have much free time lately so i can only talk about it now. But let’s have a look about the killer feature of this new version of PowerShell ! Microsoft clearly choose the correct direction…




PowerShell Desired State Configuration

Instead of speaking about PowerShell 5.0 which is offered to us by Microsoft since twodays, I’ll talk today about Desired State Configuration (DSC) the killer feature of PowerShell 4.0. I won’t talk about the rythm of the PowerShell releases 😀 What’s DSC ? Do you know puppet ? i’m not talking about one of the…




Using legacy executables

This post is coming after a discussion on twitter about how to submit arguments ton an .exe files after a tips on powershell.com. I’m not agree at all with this technic, this is not a “powershell” way to do things. All the time i say that there are many ways to script and bypass a…