Tag: Powershell

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…




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….




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…




Windows Azure – Manage VMs Endpoints

In past posts, i was blogging about how to Configure your subscription Configure the Storage Create a Virtual Network Create a VM Now let’s see how to manage endpoints configured for your VM. This will be treated in 4 points: Change an existing Endpoint Assign ACL to an existing Endpoint Create a new Endpoint Remove…




BreizhCamp 21/22/23 May 2014

Hello, This year, the famous BreizhCamp will take place the 21, 22 and 23 of May on the Rennes 1 University Campus. During the 3 days, you will acces discoveries and brainstorming (mainly) for devs. This year, in addition to the Hacker-Space (21 May), you can  attend to a PowerShell “Tools in action” session (Full…




CIM Session on DELL iDRac

Hi, During my last techdays sessions about PowerShell remoting, i was speaking about CIM Sessions on third party vendors. Here is an example to gather CIM datas from an DELL iDRac. Since the lastest versions of iDRac, WSMan & DMTF standards are included, so indeed we can play with PowerShell 3+ with it through CIM…




Test if IPs are in same subnet

Hello, today this is not a post about Windows Azure, but an old little function to test if an ip is in the same subnet as another ip. How it works ? Well, we have 3 functions, the two first are here to be used locally, and the function you’ll have to use to test…