2008 R2 domain, windows 7 clients. i have a powershell script that runs fine manually. when i set it as a logon script, it does not appear to be running. i have tried putting the script locally on the c drive and on the netlogon share (and adjusting the script policy accordingly) but it does not run wherever i put it. i have also created a batch file that calls
powershell "c:\myscript.ps1"
the batch also runs fine manually, but if i set it as a logon script, it does not appear to be running. i have done RSOP on the test client to make sure it's getting the policies as expected. the powershell script writes an event to the system log, and no event is being logged (except when i run either the PS script or batch file manually). i don't see any events in any logs about scripts trying but failing to run.
i can't find any good documentation on setting up powershell scripts as startup scripts. i would think it would be pretty straightforward, but it's not working.