Common VSCode Extensions

Ever since MMS2019 – I’ve been asked and have seen numerous questions about what VSCode extensions should someone get started with. While everyone needs different things here are a few extensions I think anyone working in PowerShell should use. NOTE: If you want to skip to the full list of my favorite extensions just scroll ...

Travel Tips & Tricks for 2020

I recently had a chat with a friend who revealed they were headed out of the country on a family vacation and knowing my travel habits they asked if I had any tips for making travel less stressful. As I wrote a response I thought some of these tips might be useful for others as ...

How To: Import the ConfigMgr Module – $Profile Style

Setting the scene If you are like me you probably find yourself frequently in a spot where you would like to import the Configuration Manager module to do this one thing. No one wants to open the console and load the ISE. No one wants to have to use the Snippet, I just want to ...

How To: Make VSCode Create new PowerShell file by default

VSCode Settings VSCode has become my and many other creators editor of choice. However, I find myself updating certain settings regularly. One of those settings is default file type for new files. An upside of changing the default file type is allowing the PowerShell extension to immediately parse your work. If you have not looked ...

Creating VSCode User Snippets for PowerShell

If you spend time working with VSCode you’ll learn there are cool functions like “User Snippets” you can customize. I’ve talked about these before on another blog and showcased creating User Snippets that allow you to import the Configuration Manager PowerShell module. I wanted to go a step further with a few more snippets I’ve ...

Add an AD Group rule to a collection with PowerShell

It’s been a long time since I’ve posted anything on my blog but after a year of writing with the SCConfigMgr team on a regular basis I thought it was time to give my roots a little bit of loving. When creating a collection in ConfigMgr its really common that we use an Active Directory ...

Enable the Active Directory Recycle Bin

Ever have gut-clenching moments when you realize you deleted the wrong object in Active Directory? Maybe you keep a bottle of antacid in your desk drawer for exactly that reason. Well not anymore. Let’s talk about a wonderful feature in Active Directory implemented back in the 2008 version of Active Directory. It’s called the ‘Recycle ...

SCCM Collection Evaluation Duration – SQL Query

The Problem: My collection membership seems to take forever to update! Also, for some reason the console seems SUPER slow lately. One of the COMMON Solutions Collection evaluation is a common sticking point that causes major performance issues in any well constructed environment. In fact it’s probably the number one cause of console slowness and ...

Get all members of a group including nested group membership – Powershell

Previously I wrote a script that would find all members of a security group via Powershell but something I didn’t discuss is dealing with nested groups. This script was written with the idea in mind to find ALL members of a group, computers and users as well as the nested members. That being said it’s ...

SCCM 2012 R2 – Incremental Update Collections and how to find them.

The Problem:  There is something about SCCM changing from SMS to SCCM that makes people think the old maxim – “Slow Moving Software” no longer applies. Combine this with the desire for “I want it now” and you end up with a bunch of device collections where the “Incremental Updates” feature is turned on. “But ...

Browse Categories