我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
File cannot be loaded because the execution of scripts is disabled on this system error in PowerShell

Issue
When you try to run a Powershell script (PS1), you may get the following error:

File testscript.ps1 cannot be loaded because the execution of scripts is disabled on this system.
Please see “get-help about_signing” for more details.

Product Line

ION EEM

ION Enterprise 6.0x

Power Monitoring Expert 7.0.1

Power Monitoring Expert 7.2x


Environment
ION PME Software with SQL Server

Cause
This error is cause by the security setting on your pc that does not allow you to execute a script.
By default, the Execution Policy is set to Restricted. The Restricted setting means that you may not run any PS1 script at all.

Resolution
To change the Execution Policy to Unrestricted, type the following command in PowerShell

Set-ExecutionPolicy Unrestricted

An overview of the policy levels:
Restricted: Individual cmdlets can run, but not saved Powershell scripts. This is the default setting.
AllSigned: Scripts can run, but must have a digital signature even if written on the local computer. Prompts you
before running scripts from trusted publishers.
RemoteSigned: Scripts written on the local computer do not need a digital signature, but any script downloaded
from outside (email, IM, Internet) must have a signature to execute.
Unrestricted: Any script can run, but scripts downloaded from outside will run with a warning.

施耐德電機Taiwan

探索更多
產品:
探索更多
產品:
  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings