by Jonathan Bennett | Jun 20, 2018 (Updated Jun 20, 2018)
Overview This post shows how a script can detect if it is running from inside an SCCM Task Sequence in a way that avoids false positives. The Problem At times it’s useful for a script to detect if it is running from an SCCM Task Sequence so it can alter its...
by Jonathan Bennett | Jul 12, 2015 (Updated Mar 6, 2018)
Overview The newest versions of the AutoIt scripting language now come with a bonus for PowerShell users. A set of native PowerShell Cmdlets! This allows you to add the unique features of AutoIt – window manipulation and keystroke simulation – to your...
by Jonathan Bennett | Feb 4, 2015 (Updated Jan 30, 2018)
Overview This post shows how to automate the numerous “first-run” dialogs that are shown when a user runs an Office 2013 or Office 365 application for the first time. With a standard local installation of Office 2013 this can be done in two ways. Firstly,...
by Jonathan Bennett | Oct 23, 2014 (Updated Jul 14, 2018)
Overview This post shows how to quickly get the current script directory using PowerShell, VBScript and Batch – the most commonly used scripting languages for Windows. The scripts I write usually read in other files or call other scripts. In order for these...
by Jonathan Bennett | Jan 10, 2014 (Updated Jan 25, 2018)
Overview Recently I came across an issue with System Center Configuration Manager (ConfigMgr) 2012 where a large number of packages and applications had failed to be distributed to a new Distribution Point (DP). There were many thousands of packages in the environment...