Sunday, February 7, 2016

PowerShell Tips : Find running schedule tasks by using PowerShell.

 

I was checking some of my schedule task jobs using MMC, and then a thought come to my mind, that there should be some cmdlet by which I can check all of my schedule task jobs, isn't ( Ok, there are thousand's of cmdlets, and you can't know each and everyone, so don't laugh, .. I said DONT LAUGH)

I have found a cool cmdlet for it, Get-Scheduledtask , type and run it and you will see list of you all cmdlets and if you wannt know about the running schedule tasks, then you now ( I am assuming, that you are inteliggent, LOL)  you have to use Where-Object cmdlet. Simple!

 

Get-Scheduledtask  | where state -eq "Running"

 

6

 

 

With Regards.
Aman Dhally
If you like, you can follow me on Twitter and Facebook. You can also check my “You Tube channel for PowerShell video tutorials. You can download all of my scripts from “Microsoft TechNet Gallery”.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.