If PowerShell is not allowing you to run scripts then you might need to set the execution policy.
Set-ExecutionPolicy RemoteSigned
https://technet.microsoft.com/en-us/library/ee176961.aspx
If PowerShell is not allowing you to run scripts then you might need to set the execution policy.
Set-ExecutionPolicy RemoteSigned
https://technet.microsoft.com/en-us/library/ee176961.aspx