how can I get the status of a worker that is on the farm from deadlinecomman.exe?
I’m trying to write a Powershell script to enumerate over the farm and restarts the stalled workers, so I need deadlinecommand to return status of a worker and if it’s stalled then restarts the worker,