I've scheduled a PowerShell task on a remote server.
When I remote into the machine the task manager says
there is a PowerShell process running under the appropriate ID
and the scheduler says the job is running but it obviously isn't
because it would be logging messages and no messages
are ever logged. Not even the one saying it is starting up.
If the job kicks off while I'm remoted into the system I see the
window pop up and it runs fine. Well, it runs fine until my
remote session is canceled for inactivity....
I scheduled another job to check on the first job and it runs fine.
The second job is also a powershell script and all it does is look
for the first job and log a message saying if it found it running or
It usually logs that it's not running but at least it logs something.
That tells me I'm entering the ID and password correctly.
What can I look for?