Archives by date

You are browsing the site archives for March 2014.

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: