What happens when you load the script into PowerShell_ISE and either run it F5 or highlight the entire script and run it with F8?
Can you tell us more about the script. Did you type it up yourself or did you copy paste it from the internet, or did you download a PS1 file from the Internet?
It also sounds like your organization could possibly have Group Policies in place that might be preventing you from running scripts.