21 06, 2016

How to create a configmgr enhanced detection method using powershell?

By | June 21st, 2016|ConfigMgr 2012, PowerShell|12 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 [...]

29 06, 2015

How to get configuration manager inventory data using PowerShell

By | June 29th, 2015|ConfigMgr, ConfigMgr 2007, ConfigMgr 2012, WMI|0 Comments

In order to find information from our environment,very often we go out query the information directly at the source, on the network. We will query 100 hundreds of computers to [...]

28 06, 2015

How to get missing software updates using PowerShell

By | June 28th, 2015|ConfigMgr, ConfigMgr 2012, Configuration Item tresor chest, PowerShell remoting, WMI|0 Comments

I needed to list all the missing Windows Updates that have been deployed through Configuration manager. This means, not the ones deployed through WSUS, nor the ones that have NOT been [...]

1 05, 2015

How to get and set configuration manager client push windows firewall rules using powershell

By | May 1st, 2015|ConfigMgr, ConfigMgr 2012, Firewall, PowerShell|2 Comments

I have worked with a new thing in PowerShell the other day that I thought would be nice to share: How to work with the Windows Firewall. I needed to verify [...]

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 [...]

5 01, 2015

How to OSD tattoo a SCCM Windows image using PowerShell –> OSD Tattooer Script

By | January 5th, 2015|ConfigMgr, ConfigMgr 2007, ConfigMgr 2012, OSD, PowerShell, Sticky, WMI|44 Comments

OSD Tattooer Script Latest version  = 1.4.3 Version 1.4.3 is out! (16/08/2015)  I have added the following minor changes in version 1.4.3: Added Online help. Use get-help .\New-OSDTattoo.ps1 -Online to get [...]

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|24 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 [...]

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: