13 04, 2015

How to extend hardware inventory in configuration manager

By | April 13th, 2015|ConfigMgr, ConfigMgr 2012, PowerShell, WMI, wmi module|4 Comments

During the first meeting of the Basel Powershell UserGroup , I have done a presentation where I demonstrated how we could tattoo our Windows Image during a deployment for reporting purposes [...]

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

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 : […]

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 : […]

Load More Posts
%d bloggers like this: