Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Scheduled Task

$
0
0

I need a script to do several things and not sure if one can be scripted or not due to the complexity of it but i will ask anyway.

 

I have created many tasks (hundreds) within task scheduler.... they are antivirus scan tasks that point to a share and when kicked off it scans that share.

the servers they run on are virtual and only have a specific amount of RAM so i can only run a few scans at a time (Around 5 to 7) 

What i need is a script that will kick off a set number of tasks and then when one of the tasks end, it kicks off a new task and keeps on going down the line of tasks.

Also, we do mid-month patching, which means the servers get a reboot. can the script also keep track of where it was before the reboot and pick up where it left off after the reboot?

Not sure if all of that can be done via powershell but wanted to ask.

Thanks

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles