When you run a powershell script locally in a powershell box, you will get error message like "Script cannot be loaded because execution of script is disabled on the the system.."
This is in fact what it says, execution of script is prohibited. This is the default settings: To run script interactively on the box, execute this command:
"Set-ExecutionPolicy RemoteSigned"
You will be fine after that.