Category Archives: Scripting

Powershell script to collect MDT/SCCM/Windows logs from a local system

By | September 11, 2015
Share

Add this script to your custom WinPE boot media to make grabbing the logs from a system simple and quick. UPDATED 9/11/2016 – https://github.com/brianfgonzalez/Scripts/blob/master/CollectLogs.ps1 <# Version: 1.1 ChangeLog: – September 10, 2015 : First revision of script. – Moved function code above function call. 1.1 – Switched to using [System.IO.DriveInfo]::getdrives() instead of gwmi #> function… Read More »

Whats the best way to query for a Toughbook from MDT/SCCM?

By | February 17, 2015
Share

The old way: SELECT * FROM Win32_ComputerSystem WHERE Model LIKE “CF-53J%” This query no longer works for Toughbook systems manufactured after 2014.  This field is now populated with a generic value for the Toughbook revision (CF52-2 instead of CF-53JVUZK1M).   The best way: SELECT * FROM Win32_BaseBoard WHERE Product LIKE “CF53-2%”   If you prefer to… Read More »

How can I set BIOS Settings for a Toughbook or Toughpad in WinPE?

By | December 19, 2014
Share

*UPDATED* – 2016/09/16 Removed Password, and updated download link for BIOS Provider.   With the latest release of the WMI BIOS Provider Utility came a large feature, the ability to set BIOS settings from WinPE. First, you need to add the Panasonic SID Driver to your WinPE. The latest variety available should do: 32-Bit |… Read More »

How Can I Set The AssetTag in A Panasonic Toughbook or Toughpad’s BIOS using MDT 2013 or SCCM 2012?

By | November 22, 2014
Share

If you MUST input the ComputerName manually on a machine once, then store it in the BIOS, so the next time the unit is imaged, it can be pulled from the BIOS’s AssetTag value. The first step to this setup is telling MDT2013 to attempt to use the AssetTag for the ComputerName value.  This is… Read More »

How can you get information from a WWAN embedded card from the command-line?

By | September 11, 2014
Share

Very useful broadband card information accessible via a quick command line: netsh mbn show interfaces View post on imgur.com Unfortunately, configuring the broadband card doesn’t appear to work.  I’m working with Microsoft and Sierra on this, but here is the error. netsh mbn add profile interface=”Mobile Broadband” name=”C:\profile.xml” returns either: Add Profile Failure: Invalid Profile… Read More »