Your company's ad could live here and reach over 50,000 people a month!

Scripting

Use PowerShell to Check for Compatibility with the Spectre/Meltdown Patch

Mick Pletcher has put together an excellent PowerShell solution for providing reporting for those computers that are compatible with Microsoft’s Spectre/Meltdown updates. Get the tool from GitHub: MicrosoftSpectrePatchCompatibility.ps1 Reply in the comments with suggestions/comments/bugs at: https://mickitblog.blogspot.com/2018/03/microsoft-compatibility-reporting-tool.html Looking for an awesome, no-nonsense technical conference for IT Pros, Developers, and DevOps? IT/Dev Connections kicks off in Dallas, Texas in 2018!

Bringing Back the DIP Switch: Saving Those Like-Settings as a Single (Bitwise) Value – Made Easy

Remember the DIP switch? One usually has to be "of a certain age" to vividly remember using those physically manipulated computer components that were there solely to configure Boolean settings for different hardware components. They usually came with 4 or 8 individual switches, but anywhere from 2 to 12 was not unheard of. A quick flick of one or more switch saved settings that configured how your hardware responded. I personally had one board once that the configuration of three dip switches changed the Baud rate that the board would use. The days of DIP switches are gone, but retaining settings certainly are not. Today’s settings are stored in configuration files or the registry, and although many script and program developers do write code that has configurable componen...

PowerShell scripting guidelines

Like always, if people are talking languages they will have dialects or accents (I don’t ). PowerShell is not an exception here. There are so many people nowadays writing PowerShell all over the world or even in just one company, that there have to be some ground rules. Obviously PowerShell already has its own rules, otherwise it wouldn’t work, but just knowing the words doesn’t make it easier for everybody to understand. Especially in environments where a lot of people are working on the same scripts / code, there have to be rules so that anybody can go and understand and edit anybody’s script PowerShell scripting guidelines This here is […]

Script to delete any Drive:smspkg*.pck files of the specified file age

There are many scripts and examples out there for cleaning up PCK files.  The below script is my rendition to cleanup PCK files that are older than the specified number of days.  This script can be executed via a package in ConfigMgr on systems that are a DP.  Oh and I added some basic logging […]

Script to delete specific IE cookies

An old script to share :-) It will delete IE cookies specified in variable CookieNameFiled under: Scripting

Script to reset IE 8 zoom

An old script to share :-)  It will help to fix an old problem that occurred in IE 8, if that’s even still around and in use today ;-)Filed under: Scripting

UPDATE: How this Inventory Script makes your ConfigMgr life easier

Do you know my original Powershell inventory (or documentation) script for Microsoft System Center 2012 Configuration Manager / SCCM / CM12 (whatever you call it)? I originally wrote it for ConfigMgr 2012 SP1 and it’s available here: http://www.david-obrien.net/2013/06/20/huge-powershell-inventory-script-for-configmgr-2012/ Document your ConfigMgr 2012 R2 environment I am now happy to present you with an update of my script specifically written for System Center 2012 R2 Configuration Manager. Feel happy to test this in your ConfigMgr environment, distribute it wherever you like (at least tell people where you got it from, I don’t want any money ) and give me feedback on any issues you find! What’s new? full SC 2012 ConfigMgr … Continue reading →

How to convert ConfigMgr Applications to Packages with Powershell

I guess this isn’t really a common scenario in many environments, but i recently had to write a script which converts applications to packages. Why? Because of this: http://www.david-obrien.net/?p=1579 This customer planned to use Applications for all scenarios but now had to revert to using Packages during Task Sequences, at least stand-alone media Task Sequences. They already had all software built with the new App model and were quite reluctant to go back to Packages, because they feared the work to convert the Applications to Packages. I built them this script in 2 hours and now they can convert all the apps they want into Packages and use them in … Continue reading →

Automating Jive Connects for Office

It’s not well documented on how to deploy Jive Connects for Office (plugin software).  Digging into the MSI with Orca, I found the properties necessary for a basic unattended install/configuration. One of the tricks is that this software is licensed per user, so it really needs to install in the user’s context and only for […]

Windows Server 2012 R2 – IIS6 install state

In troubleshooting some ConfigMgr 2012 R2 web service point configuration problems in my home environment, I was having real problems trying to locate the install status of IIS6 Metabase and Compatibility components within the Server Manager GUI.  Ultimately I turned to PowerShell to get the answer I needed. (in fact, I’m still trying to find […]

How to rename ConfigMgr 2012 Folders with Powershell

A few days ago I was asked how one could rename a lot of Folders in the Configuration Manager Admin Console. ConfigMgr Powershell cmdlets Folders are a bit neglected by Microsoft. They can’t be used for Security stuff, scoping or anything else besides putting stuff there. That said you can’t create Folders via the built-in Powershell cmdlets, you can’t move them or delete them, so you can’t rename them. For all this you still need to use WMI! I said it again Here are two of my previous posts showing what you can do: How to create Folders in ConfigMgr 2012 Delete Folder Structure in ConfigMgr 2012 This article here … Continue reading →

ConfigMgr – Application Base variables the easy way with Powershell

This article I planned on writing for some time now (as a lot of others) but didn’t find the time yet. The topic itself isn’t new, it’s the solution that’s cool (although itself also not too new). Install Applications according to dynamic variable list There is more than one way of how you can install applications (and packages) during a Task Sequence and each of them has its pros and cons. There is the “Install Application” step which lets you chose the applications you want to have installed: This is really easy, as long as you don’t want to install more than nine (9) applications in one step. The tenth … Continue reading →