Author Archives: Brian Gonzalez

Consolidate PowerShell App Deploy Toolkit Function .PS1 Files

By | May 24, 2019
Share

1\Copy the “AppDeployToolkit” folder to your Deployment Share’s “Scripts” folder. 2\Edit the “AppDeployToolkit\AppDeployToolkitConfig.xml” file to log to MDT’s log location. 3\Update the Deploy-Application.ps1 files you use in your Application installs to locate the centrally located “AppDeployToolkit” folder. 4\Lastly, when adding your application to MDT, use this as the “Command Line”. PowerShell.exe -ExecutionPolicy Bypass -WindowStyle Min… Read More »

Installing Panasonic Toughbook BIOS Updates in a Task Sequence

By | April 24, 2019
Share

First off, here are the silent arguments I’m passing to my BIOSXX.exe package: ‘UiMode=2 SetExitCode=1 NoShutdownInTool=1 RequiresACAndBattery=0 LogLevel=2 Log=C:\MININT\SMSOSD\OSDLOGS\BiosUpdate.log’ The important arguments are bolded. Getting these arguments together are the difficult part. Now for the easy part. 1\Create “Applications” for each BIOS update package. In my example, I wrapped the update in a PSADT (https://psappdeploytoolkit.com/)… Read More »

Impressive Site Removes Background From Images

By | January 11, 2019
Share

**UPDATED:  Here is a link to the site http://remove.bg I’ve done this a million times and it’s not fun.  This site helped me out with a recent project.  It didn’t complete the masking, but it was 90% accurate, which I can appreciate!

Check the Embedded Controller (EC) Firmware Version in Powershell

By | January 10, 2019
Share

Here is a snippet for checking the EC version.  It tosses a dialog with it’s result. Pre-reqs: 1\This snippet uses Powershell App Deploy Toolkit functions. https://psappdeploytoolkit.com/ 2\You’ll need to place the .mof and .dll files from our WMI BIOS util in the files folder. ftp://ftp.panasonic.com/computer/software/WMI_Release_V1.00L31.zip     ## <Perform Installation tasks here> Show-InstallationProgress -StatusMessage “Copying… Read More »

Map A1 button on CF-20 and CF-33 to perform soft dismount from keyboard base

By | November 28, 2018
Share

This sniplet was written to work within a Powershell app deploy toolkit package.  If you are not familiar with that toolkit, get familiar with it, its a huge time saver. ## <Perform Installation tasks here> Execute-Process -Path “$envSystem32Directory\reg.exe” -Parameters (‘load HKLM\ImportedHive “{0}\Users\Default\NTUSER.dat”‘ -f $envSystemDrive) $bClickDefAction = [byte[]](0x25,0x00,0x53,0x00,0x79,0x00,0x73,0x00,0x74,0x00,0x65,0x00,0x6d,0x00,0x52,0x00,0x6f,0x00,0x6f,0x00,0x74,0x00,0x25,0x00,0x5c,0x00,0x53,0x00,0x79,0x00,0x73,0x00,0x74,0x00,0x65,0x00,0x6d,0x00,0x33,0x00,0x32,0x00,0x5c,0x00,0x72,0x00,0x75,0x00,0x6e,0x00,0x64,0x00,0x6c,0x00,0x6c,0x00,0x33,0x00,0x32,0x00,0x2e,0x00,0x65,0x00,0x78,0x00,0x65,0x00,0x00,0x00,0x63,0x00,0x66,0x00,0x67,0x00,0x6d,0x00,0x67,0x00,0x72,0x00,0x33,0x00,0x32,0x00,0x2e,0x00,0x64,0x00,0x6c,0x00,0x6c,0x00,0x2c,0x00,0x43,0x00,0x4d,0x00,0x5f,0x00,0x52,0x00,0x65,0x00,0x71,0x00,0x75,0x00,0x65,0x00,0x73,0x00,0x74,0x00,0x5f,0x00,0x45,0x00,0x6a,0x00,0x65,0x00,0x63,0x00,0x74,0x00,0x5f,0x00,0x50,0x00,0x43,0x00,0x00,0x00) Set-RegistryKey -Key ‘HKEY_LOCAL_MACHINE\ImportedHive\Control Panel\TabletPC\ButtonMaps\2’ -Name ‘ButtonID’ -Type ‘Dword’… Read More »