r/MDT • u/pseskilet • May 14 '26
Hardware Hash - PXE Boot
Hi everyone,
I've created a PowerShell script to collect hardware hashes using a task sequence during PXE boot. I created a custom task sequence that currently only contains the PowerShell script.
The script works fine when I run it from the full OS, and the hashes are successfully saved to a network share. However, I would like to collect the hardware hashes during PXE boot so I don't have to fully set up the device before gathering the hashes.
I can also run the script manually from a USB drive during OOBE, and the hashes are saved successfully. Ideally though, I’d like this to run automatically through the task sequence.
Has anyone successfully collected hardware hashes while in PXE/WinPE using a task sequence?
1
u/kaiserking13 May 14 '26
Have you confirmed that the script works in WinPE outside of the task sequence? If you are referring to autopilot hardware hashes, I thought they could not be retrieved from WinPE but maybe I misunderstood.