Tag Archives: Scripting

My MDT PowerShell Template

By | March 17, 2014
Share

I’ve recently come to really appreciate PowerShell as the most versatile and powerful language available natively in any/all Windows OS. i.e. 2 lines of code to ensure laptop battery is plugged in and prompt the user. If ((Get-WmiObject -Query “SELECT * From Win32_Battery”).BatteryStatus -ne 2) { Write-Host “Please plug in your laptop” } An equivalent… Read More »

How to download Microsoft Office 2010/2013/2016 Updates the Easy Way *UPDATED*

By | February 7, 2014
Share

*UPDATE* Script update, thanks Andy! (CollectOfficeMSPs-2016.vbs) UPDATE: This also works for Office 2010! Since Office 2010, I’ve been using one of the MS Office’s installation hidden gems, the “Updates” folder. In previous versions, I’ve had to use WSUSOffline to grab the update files and convert them to .MSP, which wasn’t fun. With Office 2013, Microsoft finally… Read More »

How to fix a Barcode scanner not working on CF-H2 Toughbook laptop

By | February 7, 2014
Share

The Barcode module on the CF-H2 is hard-coded to use COM3. In some cases, this port is occupied by another device, which are soft assignment to COM3 (can be re-assigned to another port). In those cases, the Barcode scanner does not work.  Here is a way to address this issue via a script/batch. Download Links:… Read More »

How to set the 2D Barcode Emulator to “Always On” a FZ-G1 Toughpad via a script or batch

By | February 5, 2014
Share

By Default, the G1’s Barcode Emulator “Always On” setting is is set to disabled, this decision was made to save on battery power. When needed the user must turn it on, which in essence turning it on does so forever for the logged on user. If you are baking this utility into your CORE image,… Read More »

PowerShell Script to Query Wireless Modem and pull Asset Information.

By | February 3, 2014
Share

Pulling a Wireless WAN Modem’s information while in the field is a daunting task. Here is a script to pull this information using AT commands with in a PowerShell script. The script was tested on a CF-53J Toughbook laptop with an embedded Sierra 7750 (Verizon LTE) modem. The script displays methods of capturing the information… Read More »