1
vote
1answer
74 views

How to trigger the windows task scheduler event when my computer's CPU is overrun over 30 minutes?

my computer's OS is windows 7, I would like to do this: when my computer's CPU is overrun over 30 minutes, it will trigger task scheduler's event which is send a email to my email account. I don't ...
1
vote
3answers
374 views

Schedule a Powershell script in Windows 8?

How can I schedule a Powershell script to run every day at 3am in Windows 8?
1
vote
1answer
199 views

Create Shedule Task for execute Powershell script immediately using Powershell

I need create schedule task programmatically using Powershell (PS remoting). My task executes a powershell script (and other cases a script cmd) immediately. $powershellcmd = (get-command ...
1
vote
1answer
51 views

Can a Windows scheduled task update itself and how would I do it?

Can a Windows scheduled task update itself and how would I do it? I'm using Windows Server 2008. I've seen some Powershell scripts that create tasks from xml; would this be the right approach?
1
vote
1answer
262 views

Scheduling a Powershell script

I have a powershell script that I want to run as a schedule job. The script runs great when I execute it manually, but when I run the schedule task, the job fails with the message "could not start" ...
1
vote
3answers
1k views

Scheduled Tasks Properties in PowerShell?

I am not sure how to do this in PowerShell, but I dont think it is supported. For example: $tasks = schtasks /query Will store all the tasks into the variable $tasks Example output: Folder: ...
3
votes
1answer
809 views

Schedule powershell script with admin priviliges

I want to schedule a powershell script to run on my windows 7 system everyday with admin priviliges. How do I do so?