Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Problems with get-scheduledtask

$
0
0

I'm monitoring multiple 2012 R2 servers (all deployed roughly at the same time) task scheduler where I use get-scheduled task within Invoke-Command to pull information on specific tasks. On one server however I get errors for some reason.

The parameter is incorrect. +CategoryInfo : Invalid argument: (MSFT_ScheduledTask:Root/Microsoft/...T_ScheduledTask) [GetScheduledTask], CimException  +FullyQualifiedErrorId: HRESULT 0x80070057,GetScheduledTask

Any idea what would be causing this sort of behavior just on that one server where it works fine on all the others.


yaro


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>