Set the script execution policy.Set the execution policy to RemoteSigned or Unrestricted according to the method described in following URL.
http://technet.microsoft.com/en-us/library/ee176961.aspx