Archives by date

You are browsing the site archives for 2014.

Creating SCCM User and Device Collections based on Active Directory Groups

Creating SCCM User and Device Collections based on Active Directory Groups

Create a User Collection and a Device Collection that pulls its members from an active directory group 1. Make sure you have Discovery set up on your Active Directory or Specific OU containing groups. You can do this by clicking Administration > Discover Methods then  right click on “Active Directory Group Discovery” and choose Properties. […]

C# convert WMI DateTime to standard DateTime

WMI Dates and times are in DMTF datetime format. The following is the command to convert a given DMTF datetime to DateTime.

Microsoft Documentation

Configuration Manager 2012 how to add users in an AD group to a user collection

In SCCM the below query string can be used to populate a user collection based on AD group.

Powershell and VB script to update a registry key if it exists on the local system

Here are a couple scripts I wrote to update a registry key on a system if it the key exists. I created a PowerShell script to do this then realized that some of the systems being updated were pretty old so decided to go with VB Script   Power Shell Script

VB Script

[…]

Powershell Script to detect one or more KB articles are installed

This PowerShell script checks OS version or KB articles are installed on system. Used in SCCM as a detection method for IE 11 Prereqs.

     

Powershell Install multiple Windows Updates .MSU

This script will loop through multiple msu windows updates files and install them.  

 

%d bloggers like this: