Monthly archives: February, 2014

Windows Azure – Create a Network

Hi, In two previous posts i was talking about how to : Enable your subscription in PowerShell Azure module Configure your storage Ok, now we have almost everything in order to build our first VM, actually, we can build a VM right now, but! But, if you wanna set up a full environement and have…




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…




Windows Azure powershell – Storage overview

In a previous post, i talked about the CurrentStorageAccountName property of our Azure subscription. Let’s see how create a Storage account before adding it to our subscription……




Windows Azure powershell – First steps

I used the Microsoft cloud platform since few months for personnal use, mainly as a lab to test and build powershell scripts. This article will (i hope) provide you concret scripts and technical references to build a lab from scratch in just few minutes. First of all, keep in mind that Azure it’s not free,…


Tags:


Remove duplicates

Often i need to remove duplicates in objects before pipe them to another function, or before print the result. So, let’s take a cmdlet which return many lines like Get-Process…




NTP reporting function

Hello, I hope this function will help you in your daily work. On large infras it kinda hard to get a correct view of all your NTP configuration and sometimes it’s usefull to have a full view of servers unsynch. This function will gather informations of a server NTP configuration : NTP Source – Only…




IF/ELSE vs TRY/CATCH

Hi, I got few questions about how Try/Catch works in PowerShell recently. First of all, you need to get the thing that the cmdlet you put in the try section has to return an exception in case of error. I mean, if your cmdlet return boolean value it won’t work ! Let’s try an example…




De retour des Techdays 2014

Ce billet ne sera pas technique, mais plutôt mon ressenti sur le plus grand évènement IT de l’année en France. C’est avec une certaine tristesse que j’écris ce poste dans le train et vous fait part de mes émotions à chaud, car la claque j’ai prise est      aussi forte que la pression ressentie…