• hosts file powershell

Managing Hosts File using PowerShell Classes

May 14th, 2017|0 Comments

Learn how you can manage Hosts file with powershell. Add / remove entries to a local, or a remote hosts file using this module, based on powershell classes. ok ok ok ok... That sounds a bit [...]

Guest post swisscom ICT blog

March 28th, 2017|0 Comments

For the ones that are curious what an implementation of Pester in a big environment could look like, I would recommend that you read my guest blog post on the Swisscom ICT blog available here. [...]

  • parsing netsh firewall using powershell

How to parse netsh advfirewall rules using windows powershell

January 15th, 2017|2 Comments

In this powershell treasure chest post I want to explain how we can parse the results of netsh advfirewall command to workable powershell objects using regex. For the ones that didn't know, netsh advfirewall is a [...]

  • ps treasureN°2: Parsing WindowsUpdate.log

Parsing the WindowsUpdate.log using PowerShell and regex

January 13th, 2017|1 Comment

Are you searching to parse the windowsupdate.log file, the following function is here to help! It will either parse the windowsupdate.log file from your default location, or you can specify an external one. This time [...]

  • learn regex today

learning regex

January 13th, 2017|0 Comments

Regex is cool! It is true! Regex allows you to find specific chunks of text in a known sentence, file, document etc… Regex is really useful to parse big log files, to identify a [...]

How to learn pester in 3 blog posts: Part 3 Advanced concepts

December 9th, 2016|1 Comment

This blog post is part 3 of a series of 3 posts to learn how to write PowerShell pester test. After seeing the fundamentals of pester in part 1, we dove deep into the code and [...]

How to learn Powershell Pester in 3 blog posts: Part 2 – deep dive into the code

December 8th, 2016|1 Comment

  This blog post is part of a series of 3 posts to learn Powershell Pester. After seeing the fundamentals of pester in part 1, we are now going to deep dive into the code and [...]

How to learn Pester in 3 blog posts: The fundamentals

December 6th, 2016|1 Comment

Going forward in the Devops world, you will sooner or later end up asking yourself the following questions: I made a change to my code, does it still work? How can I ensure that the [...]

Using polymorphism in PowerShell Classes

November 27th, 2016|3 Comments

This blog post is part of my second series about powershell classes,but this time, it is in collaboration with 4sysops.com This series has a total of 6 posts that covers everything that needs to [...]

How to benefit from powershell class Inheritance?

November 26th, 2016|2 Comments

This blog post is part of my second series about powershell classes, this time in collaboration with 4sysops.com. This blog post focuses on powershell class inheritance. This series has a total of 6 posts [...]

A practical use case for PowerShell Classes Part 3: PowerShell static methods

November 14th, 2016|1 Comment

This blog post is part of a web series of 5 posts that covers everything that needs to be known about powershell classes. The series covers the creation of a "computer" class that is [...]

  • frpsug powershell class

French PowerShell Meetup n°2 – Wrap up

October 20th, 2016|0 Comments

  Not so long ago, we have founded the French PowerShell user group . The second meetup was held yesterday, where I did a presentation on PowerShell Classes (Read more about classes here  and here. Want to [...]

  • powershell enum

A practical use case for PowerShell Classes Part 2: Powershell enums

October 18th, 2016|1 Comment

In part two of this web series about powershell classes, I would like to talk about how to use a powershell enum and go through a use case which will point out their use, [...]

Using powershell to set, change and replace an ip address

September 27th, 2016|0 Comments

I have been automating the provisioning of Hyper-V hosts using SCVMM and PowerShell, and one of the tasks that I had to do involved to set an use powershell to set an ip address [...]

  • french-powershell-user-group-wrap-up

First French PowerShell UserGroup Wrap up

September 25th, 2016|0 Comments

In case you missed it, we have founded the French PowerShell user group last month and this is a short wrap up on how great the response from the french community was, and how well [...]

  • powershell mac osx

PowerShell on Mac Os x: The discovery of a new world

September 1st, 2016|14 Comments

Recently Microsoft announced that PowerShell has been open sourced, and made generally available on Linux and Mac Os X. It is currently (04.11.2016) in alpha version available on github. I happen to have a Mac [...]

  • git and github part 2

Embrace version control using github powershell (part 2)

August 21st, 2016|0 Comments

In part one of these series on version control we have seen the basics that are needed to get started with git and to setup version control locally in our environment. In this article, we [...]

  • powershell linux

Powershell Linux just became real. Get started right now!

August 21st, 2016|1 Comment

Microsoft released some great news yesterday (18/08/2016): PowerShell is now Open sourced, and available on Linux AND MacOSx (!!!). Yeah, amazing isn't it??!! Everybody talks about powershell linux; blogs, youtube channels, twitter accounts etc.. [...]

  • frpsug

Ze French PowerShell UserGroup is born!

August 20th, 2016|0 Comments

  Yes, you read it correctly, these french weirdos are getting organized, and will provide PowerShell knowledge in french, for free! For the ones that were present at my BPUG meeting in Basel last wednesday [...]

  • Basel PowerShell UserGroup

BPUG Meeting N°6 -> It was a blast!

August 20th, 2016|0 Comments

Basel PowerShell UserGroup   Three days ago (17/08/2016) we had the honnor to have Ed & Teresa Wilson as Guests at our 6th Basel PowerShell User Group meeting (BPUG). It was really a blast! We had [...]

  • powershell pdfcreator internetexplorer

How to print a webpage in PDF with powershell

August 18th, 2016|2 Comments

I have been asked to do kind of a special thing the other day: Stéphane, do you know if we can print a webpage in PDF with powershell, so we can archive the look and [...]

  • pdfcreator powershell

How to automate PDFCreator with PowerShell

August 18th, 2016|0 Comments

automate pdfcreator using powershell Have you ever needed to automate the printing of PDF documents? Well, you can do that using PDFCreator and powershell. Indeed, PDFCreator (version 2.3.2)  comes with an COM [...]

  • sccm enhanced detection method

How to create a configmgr enhanced detection method using powershell?

June 21st, 2016|13 Comments

Have you ever felt the pain of trying to automate configmgr enhanced detection methods / enhanced detection rules using PowerShell? I know. it hurts. It feels like scripting VBS in notepad like in the old days: It [...]

  • Basel PowerShell UserGroup

Save the Date – BPUG Meeting planned with (super) guests

June 20th, 2016|0 Comments

--UPDATE-- 24/06/2016 Registration link added A short post to make you all save the date of the 17th of August 2016 where our next BPUG meeting will held place. This time we have the honor to [...]

  • basel powershell user group

BPUG Meeting N°5 Open for registration

January 24th, 2016|0 Comments

Next BPUG meeting scheduled on 24th of February 2016 at 18h  Due to Illness of the main speaker, the event is postponed until mid march. New dates will be communicated as soon as [...]

  • basel powershell user group

BPUG #4 meeting – Presentation material

December 6th, 2015|0 Comments

Next Meeting: Date: 26.02.2016 Agenda: 1.Claudio Spizzi: Deploying SCOM Using PowerShell DSC 2.?? à Open for speakers 😉 Last Meeting : Date: 24.11.2015 Agenda: The topics were the following ones: Stéphane van Gulick – Introduction to [...]

  • posh-starwars logo

Posh-StarWars: the most usefull powershell module in the galaxy!

October 31st, 2015|0 Comments

Diving deep into RESTFULL api brought me all the way from my powershell prompt to the intergalactic universe of Star wars. How to join your favorite science fiction movies and your favorite automation tool, together, [...]

  • basel powershell user group

BPUG Meeting #4

September 28th, 2015|0 Comments

The Doodle spoke! The 4# BPUG meeting will be held on the 26th of November at 19h. Please take a (Free) ticket on the EventBrite page located here under. PS: Please, remeber that we are [...]

  • wall git

Embrace version control using powershell git (Part 1)

September 19th, 2015|11 Comments

PowerShell git: The beginning! I am writing this blog post from the airport / air plane heading back to Basel. I was at the Powershell summit (#pshsummit) in Stockholm and I really had a GREAT [...]

How to install SMA on Windows Azure Pack : Part 2

August 22nd, 2015|0 Comments

Before even starting to talk about the installation of "SMA" (which standands for "Service Management Automation" ) let's briefly explain what it is and where it comes from. What is SMA?   In the Microsoft's [...]