Run a powershell script directly on the PDQ server?
Might be a long shot, but I have a particular issue I'm trying to get around... I have a collection of a few hundred VDI workstations I manage and have been using PDQ (with great success so far) to handle app deployments patches, etc. to all of them. Most are online 24/7 but a percentage are set to auto-stop after an hour of sitting idle which means they're offline for PDQ.
It's not possible to use WoL with these machines, BUT I can (and have) give the PDQ server administrative access to the VDI infrastructure. I can manipulate the running state of the machines manually via PowerShell... What I'd really like though is to have PDQ do that for me. I'm thinking something like...
- PowerShell on server to list and identify stopped machines;
- Record computer names of stopped machines in variable/collection/whatever;
- PowerShell on server to send "Wake" command for each machine in aforementioned list;
- Crack on with whatever installs/tasks PDQ needs to do as normal.
This would mean running the PowerShell scripts directly on the PDQ server and not on each client machine as would normally happen. I can't see a way to do this, does anyone know if it's possible?