- Download 563
- File Size 4.13 KB
- File Count 1
- Create Date April 26, 2017
- Last Updated September 19, 2017
PowerShell script to test DHCP and PXE responses
Why do I have to keep PXE booting these devices just to see what file name and other options, if any, I would get from my DHCP, proxyDHCP or IP Relay/Forwarding devices? Surely there must be a PowerShell script that lets you do that? Well there wasn’t. Until now
The PXE Fairy and how she works her magic
So in order to PXE boot a modern client, the standard can be deviated and bastardised quite a bit but will only cover the basics here, typically has to set the following options:
Option 60: This gets set to the string of “PXEClient” which then instructs the PXE servers that this is a machine that is trying to boot.
Option 93: This is set to the actual UUID of the machine
Option 97: Contains some information of what kind of machine it is, like UEFI or not etc.
Okay, great, how do I run it?
You basically feed the script your MAC address, UUID of your liking, and the processor/device capability that you want to simulate. Then the script will create the DHCP request for you. So you can use it to simulate and test your ConfigMgr PSP servers to check that all is working as intended.