Category / BIOS / BitLocker / PowerShell / Script
-
Replace TPM protector with new PCRs
Want to replace the TPM protector on an operating system volume the easy way? Grab this PowerShell script. Why would you want to do this? Because the default TPM platform validation profile (PCR values) on Windows 7 clients is quite sensitive to changes in the boot order, MBR, partition table, attached USB drives etc. If…
-
Lenovo BIOS update script
This script can be used in a task sequence (MDT or SCCM) to upgrade the BIOS on Lenovo PCs eg. during Operating System Deployment.
-
Useful WMIC commands
Some WMIC (and Get-WMIObject) commands that I use all the time…
-
Inject drivers in task sequence step
Run command line: DISM.exe /Image:C:\ /Add-Driver /Driver:.\ /Recurse Package: SCCM package with no program TS step conditions: WMI Namespace: root\cimv2 WQL query: select Model from Win32_ComputerSystem where Model like "%THINKPAD T450s%" and / or WMI Namespace: root\cimv2 WQL query: SELECT * FROM Win32_ComputerSystemProduct WHERE Version LIKE “%ThinkPad T420%”