Using PDQ-WOL from an external application
Hello PDQ Community
Is there a way to pass some mac-adresses or hostnames from a commandline to PDQ-Inventory and let PDQ-Inventory do the wakeup-job then? I know pdq uses it's "own" way to do WOL by sending 3 broadcast-udp pakets to the general broadcast address and also 3 directed UDP pakets to the subnet of the targets on ports 9, 12287 and 40000. I like to use that from a commandline (If possible, without first having to extract the required informations from the sqlite database).
Any help would be appreciated.
Comments
I am not sure if there is a way to kick off the actual PDQ job via a command line, but if it helps, here is just an old PowerShell script that I had laying around which my old boss made. You can modify it to include the other extra ports that PDQ normally uses.