View Single Post
Old 08-13-2007   #2 (permalink)
Shay Levi


 
 

Re: how to start a written script

What's in the script? Make the script emit something, can you see the output?

Shay
http://scriptolog.blogspot.com



> Hello again,
>
> i hope i don't have a stupid question. Look, when i will start a
> written .ps1 script from the commandline (in this context:
> powershell.exe -noexit &"c:\tmp\script.ps1"), the powershell starts,
> but the script won't execute. i have also set the executionpolicy to
> unrestricted. Where is the trick?
>
> Thanks for your support...
>



My System SpecsSystem Spec