About Stephane

Stéphane is a dynamic and passionate Cloud and datacenter Microsoft MVP since. He is the founder of the Basel PowerShell user Group (BPUG), the co-founder of the French Speaking PowerShell UserGroup (FRPSUG), author, blogger, and received the community award "PowerShell Hero" from PowerShell.org. Stéphane has implemented microsoft infrastructure solutions in various countries of Europe and is currently working in Basel / Switzerland. Stéphane help his clients to reduce their global infrastructure costs by implementing Microsft infrastructure solutions by combining great products such as System Center, Windows Server, with heavy automation using Windows PowerShell. Stéphane loves languages, Belgium beer, French cheese and French Wine. If any of these topics are of your interest, don't hesitate to come and say hi.
28 10, 2014

How to combine powershell objects: Combine-Objects

By | October 28th, 2014|Functions, PowerShell|5 Comments

  How to combine powershell objects ? The fusion sounds like a good idea right ? That is cool but it ‘might’ be a bit time consuming if whe need to learn the dance and stuff 😉 Read below to see how I have done it. […]

26 09, 2014

How to manage WMI qualifiers with PowerShell [WMI week – day 5]

By | September 26th, 2014|PowerShell, WMI, wmi module, WMI Week|3 Comments

This is the 5th post of a series of 6 articles entitled "WMI Week". It tends to covers the automation tasks around WMI mainly using the powershell WMI module. The first gives a [...]

25 09, 2014

wmi properties powershell: How to manage them [WMI Week – Day 4]

By | September 25th, 2014|PowerShell, WMI, wmi module, WMI Week|5 Comments

This is the 4th post of a series of 6 articles entitled "WMI Week". It tends to covers the automation tasks around WMI mainly using the powershell WMI module. The first gives a [...]

10 09, 2014

Be ready for the PowerShell WMI week!!

By | September 10th, 2014|PowerShell, WMI, wmi module, WMI Week|8 Comments

I have been working quite a lot with WMI through the years. My different experiences, and my natural curiosity, brought me the knowledge that I have developped around WMI. Since I really like to automate things I have been naturally pushed to incorporate automation in all my taks, and a matter a fact, WMI and automation just go really well together. When I do not write Powershell scripts, I do OS deployments, or actually any tasks that can be handled with System center Configuration Manager. (2007 or 2012). This means from Application deployment, Endpoint protection, mobile device management, Software updates deployment, reporting all the way to client troubleshooting and  Bitlocker encryption remediation. In OS deployment, it is a common task to tatoo the WMI repository with information specific to the image, such as the version, task sequence used to deploy it, task sequence installation time, build version, etc… Besides OSD, custom WMI classes are often created in order to do reporting using the integrated reporting features from configmgr  2012. This is what brought me to write the WMI powershell module. With the 19 cmdlets that it contains (Currently in version 2.0 of the module) it is possible to manage the complete WMI repository and create NameSpaces, classes, properties, import/export .mof files and much more ! (Download link to the module is available below). Since Powershell might be a bit difficult for certain administrators, I have decided to write a couple of blog posts during the next 6 days in order to explain how you can leverage WMI by mainly  using the Powershell module for your environment. [stextbox id=”download”]Interested ? Download immediately the PowerShell WMI module here[/stextbox] The following topics will cover a lot of the differents WMI aspects. It could be though of something like a powershell wmi tutorial. See below for the complete list of topic I will cover in the next days: […]

22 08, 2014

Exporting data to PowerPoint

By | August 22nd, 2014|PowerShell|0 Comments

Well, I walking through my "drafts" and noticed that I have never published this function Export-PowerPoint. Oiginally I wrote this function the WinterScripting Games . I dont remember exactly for which event it has been [...]

22 08, 2014

PowerShell WMI module 2.0 is out!

By | August 22nd, 2014|module, PowerShell, WMI, wmi module, WMI Week|12 Comments

    [stextbox id=”info”]Updated to version 2.1 with some minor bug fixes[/stextbox]   Voila, I am very proud to publish version 2.0 2.1 of the Powershell WMI module. I have worked quite hard on it, and I think it is time to publish it, and share my knowledge with the community. You can download the powershell wmi module from the download section here under: [stextbox id=”download”]Download the powershell wmi module here.[/stextbox] How can I start using the Powershell WMI module? You have no idea where to start? no worries! I got your back! You can start from scratch and work all your way up to WMI pro in no time by following the WMI week blog posts I wrote. You will find everything you need to start right here! What’s new in powershell wmi module? Well, to start first, quite some new cmdlets came to the 9 already existing. Indeed, the version 2.0 of the powershell wmi module (WMI-Commands) comes with 10 new cmdlets. Wich brings the complete WMI range of action up to 19 cmdlets !! Yes, 19 cmdlets in order to manage your WMI repository ! The following list are the newly added functions : […]

20 08, 2014

European PowerShell summit – I will be there! Will you?

By | August 20th, 2014|PowerShell, Powershell summit EU 2014|0 Comments

  So,it was about time, but I finally got things sorted out in order ot be able to attend the first European PowerShell summit. [important]The summit will be held the 29th sept, 30th sept and 1 okt 2014 in  “Park Hotel” in Amsterdam /Netherlands.[/important] This is a first time event, and this is a great opportunity to meet all the people that you generaly only know through twitter, or their profile pic on their blog. The exchange of the technical expertise and experience is going to be one of the best “in real life” class ever ! It is the perfect moment for networking, making new friends, increasing your powershell knowledge and expanding your experience through others, and of course, eat some “old Amsterdam” with some awesome “Bitterbalen with mustard” 😉 So besides that, why would you want to attend it ? (even if the awesomeness of the Bitterbalen makes the whole trip already worth it !) The Agenda: The agenda seems promising ! It will cover in dept the following topics […]

12 08, 2014

How to get bitlocker recovery key ID

By | August 12th, 2014|Bitlocker, Functions, WMI|4 Comments

How to get the bitlocker recovery key ID ? This is a question that a colleague of mine asked me. He wanted to get the local bitlocker key, and compare it to the one stored in Active directory. I wrote him this function which will retrieve the protector ID (Bitlocker recovery ID) with the possibility to choose which protector to retrieve. [stextbox id=”note”]This function below would be the PowerShell equivalent as the : manage-bde -protectors c: -get command[/stextbox] The function is based on Win32_EncryptableVolume WMI class. This function can easily be extended, or even incorporated in other functions / scripts. Find the download link here below [stextbox id=”info”] Since the first developpement of this script, I have written a new cool tool name “BitlockerSAK” for “Bitlocker Swiss Army knife”. The bitlocker swiss army knifeallow to find the bitlocker recovery key id, but also a lot more neat stuff! You can get more information about BitlockerSAK right here –> “Bitlocker Swiss Army Knife” [/stextbox] […]

24 07, 2014

how to create custom wmi classes and properties with powershell (WMI module 1.0)

By | July 24th, 2014|Functions, module, PowerShell, WMI, wmi module|2 Comments

  ***** [important]New version of the PowerShell WMI module 2.0 is out. It has now 19 cmdlets in total! To get the latest version of it, click here [/important] *****                 Have you ever needed to create a new WMI property ? Have you ever needed to create that WMI property in a specefic (and new) WMI class ? Well, if you did, the WMI-Module is what you are looking for then ! After setting up the method on how to measure a Task sequence time (which I explained here), I needed to add it at the end of our task sequence in the “tatoo” section. In OSD, we generaly like to put the same information, in various locations : Registry, environment variable and in the WMI repository. The registry and environment variable are pretty easy (or lets say that was something I had already done before), but how do we actually add a WMI property and a new WMI class ? That is a good question right ? I have started to write some cmdlets in order to create a class, then a property, then to import or export MOF files, and sooner then I thought, I came up with the WMI PowerShell Module. And it is my turn to give something back to the PowerShell community. For now, the module is composed of the following cmdlets : […]

14 07, 2014

Top 6 things you need to know when scripting with SCCM

By | July 14th, 2014|ConfigMgr, ConfigMgr 2007, ConfigMgr 2012, Functions, PowerShell, Sticky, WMI|9 Comments

PowerShell and Configmgr 2007/2012: If you are searching to script with SCCM 2012 post sp1 edition, you must probably already know that there are tons of cmdlets available. Prior to SP1, there were no ‘official’ cmdlets available in order to automate different tasks on ConfigMgr 2012. That is actually the main reason why I started to develop my own PowerShell cmdlets and regroup them in a SCCM2012-Commands module.   If you are attempting to script something with SCCM 2012 after version SP1, you might be lucky, and have already everything right there. Simply load the console and then write the following command :

You will have the list of all the cmdlets available. Simply filter on the name to find what you are looking for. [important]The complete list of PowerShell cmdlets avaiable in Configuration manager is available right here.[/important] The SP1 brought a huge change to this; It brought A LOT of cmdlets !. Super happy to be, finally, able to automate things in configMgr 2012. It works great !   Except for a few cmdlets where actually we have to admit, a few bugs have been reported. These bugs are reported directly to Microsoft, and are correct (or not) generaly in the next cumulative update package. You have an issue with a cmdlet, and think it is a bug, verify if somone else has the same issue on the Interet, and especially, check out the “Microsoft Connect” web page. It contains all the current open points concerning issues and feature requests. [important]Be sure to check out the feedback page and vote for the new features or bug corrections you would like to see ![/important] […]

20 06, 2014

Sccm powershell module 2.0

By | June 20th, 2014|ConfigMgr, ConfigMgr 2007, Functions, module, PowerShell, Sticky, WMI|5 Comments

  Here it is, the latest version of the SCCM Powershell module. All the different functions I wrote, that were not yet existing in the version 1.0 made by Michael Niehaus , are now available in this new version of the SCCM PowerShell module. In total, there are more then 60 new Cmdlets that can be used in order to manage your SCCM infrastructure. PowerShell Configuration manager module 2.1 is out! (25/06/2015) You can download the module containing the 63 cmdlets on technet right here –> Technet download link (dont forget to rate it !)) The screen cap below recaps the complete list of cmdlets currently present in version 2.0.   This list contains 63 cmdlets in total. For now, I will stop the developpement, and publish it as is. The cmdlets are available here under. […]

23 05, 2014

How to measure a SCCM task sequence execution time with PowerShell

By | May 23rd, 2014|COM objects, ConfigMgr, PowerShell, Sticky|25 Comments

Salvador Dali - The persistence of memory (1931) Have you ever needed to identify how Long a Task sequence run? wouldn't it be great if you could [...]

18 01, 2014

Top 6 tips to manage BitLocker with Powershell

By | January 18th, 2014|Bitlocker, General, Header, PowerShell|0 Comments

  A small blog post to share my recent experience with Bitlocker encryption. I have been looking around for information in order to write my own script, and I thought I would simply share with everybody the information I have gathered during these (sometimes loooong) moments. Before you start to read these tips, perhaps you would like to know that I have written a bitlocker encryption tool  based on PowerShell name BitlockerSAK (for Bitlocker Swiss Army Knife). I tried to mimic the way manage-bde.exe worked. It is based on the Win32_TPM and the Win32_EncryptableVolume WMI classes. (and inspired from some of the links below). [stextbox id=”download”]You can download my latest BitlockerSAK encryption function by click this link. [/stextbox] […]

12 01, 2014

How to troubleshoot WMI errors while scripting with PowerShell

By | January 12th, 2014|ConfigMgr 2007, Header, PowerShell, Sticky|4 Comments

WMI is agreat way to extend PowerShell's possibilities and create new functions that will collect data, or create things in our favorite tools. It is possible to write functions in [...]

Load More Posts
%d bloggers like this: