what is pxe used for
Using WoL does not mean that PXE will be used. PXE affects how the computer boots. PXE can be used when the system boots up with WoL, or when the system turns on because someone pressed the power button to turn on the computer, or possibly because software told the computer to perform a cold-style (full) restart.