If you do any scripting at all in Windows, you should be using PowerShell to do it. But the first time you do, assuming you've installed it properly is the following:
File C:\DEV\Report.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
You have two options: sign your scripts (you should do this) or take the easy route and change the Execution Policy (do this at your own risk). If you want to do it the right way, see Scott Hanselman's excellent post on the subject. If you just want to run ps1 scripts, and are very careful about the source, namely yourself, execute the following command within the PowerShell shell:
Set-ExecutionPolicy RemoteSigned
Remember Me
b, blockquote@cite, i, strike, strong, u
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.