153 reputation
116
bio website
location
age
visits member for 3 years, 8 months
seen Oct 24 at 1:18

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.
Dec
14
comment Get pixel coordinates of cursor in PDF?
I have several PDFs that are just image scans of forms. I have all the data necessary to auto-complete the forms, but I need to first find the pixel location of each field so that my autocomplete app knows where to write the data. Right now, it's just trial and error which is slow and tedious.
Dec
12
comment Get pixel coordinates of cursor in PDF?
I guess the problem with those solutions is that it is not very robust. If I write a tool to help extract that info, other people would need the same settings as me to use it.