Reputation
Next privilege 200 Rep.
See reduced ads
Badges
1 1 8
Impact
~19k people reached

  • 0 posts edited
  • 0 helpful flags
  • 5 votes cast
Apr
16
awarded  Popular Question
Feb
9
awarded  Popular Question
May
27
awarded  Famous Question
Dec
26
awarded  Tumbleweed
Dec
19
asked How to disable SSL 2.0+ in OS X 10.7?
Jan
6
accepted Schedule a Powershell script in Windows 8?
Dec
27
comment Schedule a Powershell script in Windows 8?
Looks like it works fine if I use a trigger. Thanks Karan!
Dec
27
comment Schedule a Powershell script in Windows 8?
Hmm.. I may be misunderstanding how Task Scheduler works. I enabled task history and it is successfully completing the task and the file is copied. However, it never changes from the "Running" to "Ready" state. Am I just expecting something that won't happen if I force-run rather than letting a trigger happen?
Dec
27
comment Schedule a Powershell script in Windows 8?
Right. I had done that before-- otherwise it would be Restricted by default and not allow any scripts to run from the command line or anywhere. I am saying it asked for the confirmation to switch to RemoteSigned again after a reboot.
Dec
27
comment Schedule a Powershell script in Windows 8?
Also, I'll add that the command works from the command line just fine.
Dec
27
comment Schedule a Powershell script in Windows 8?
I noticed after a reboot that when I try to run it by right-clicking on it, Powershell is now asking me to confirm that I want to change the execution policy. I suppose it's possible that the script is blocking (waiting for input) in the background when the scheduler runs. If that's the case, I need some way to make it not ask for confirmation of the execution policy change at start.
Dec
27
awarded  Commentator
Dec
27
comment Schedule a Powershell script in Windows 8?
I tried it the way you suggested in your edit. It still just changes the status to Running and never finishes.
Dec
27
comment Schedule a Powershell script in Windows 8?
Yep. Specifically, I set the program to C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe and the arguments to -File C:\Users\Username\Desktop\backupapp\backup.ps1.
Dec
27
comment Schedule a Powershell script in Windows 8?
I don't have access to another PC. The script just copies a file via Copy-Item. I guess what I'm really asking is: what should I point Task Scheduler to? The Script? Powershell -file Path\To\Script? Something else?
Dec
27
comment Schedule a Powershell script in Windows 8?
Yes, I tried that as well. It is set to run with highest privileges.
Dec
27
comment Schedule a Powershell script in Windows 8?
That does not work. Please see my comment in the original post.
Dec
27
comment Schedule a Powershell script in Windows 8?
I tried using Task Scheduler to run the script, but when I try to test it by running it from the Scheduler, its status changes to Running and never finishes. Note that I tested the script and it successfully runs and exits if you right click it run it with Powershell.
Dec
27
asked Schedule a Powershell script in Windows 8?
Dec
15
comment Get pixel coordinates of cursor in PDF?
No, they're scattered all over the place and of varying sizes and shapes. Imagine a really long health insurance form. Hence, I need a tool to help me quickly identify and write down the bounding areas of each field.