Powershell说:“在这个系统上,脚本的执行是禁用的。”
cmd.exe
Management_Install.ps1
由于在此系统上禁用了脚本的执行,因此无法加载。
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Get-ExecutionPolicy
Unrestricted
PS C:\Users\Administrator\> Get-ExecutionPolicyUnrestricted
C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\Install\Scripts\> powershell .\Management_Install.ps1 1WARNING: Running x86 PowerShell...
档案 C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\Install\Scripts\Management_Install.ps1
由于在此系统上禁用了脚本的执行,因此无法加载。请看“ get-help about_signing
“更多细节。
一行:1字符:25
.\Management_Install.ps1
<<<< 1
类别信息:NotSpecified:(:)[],PSSecurityException
FullyQualifiedErrorId:RuntimeException
C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\Install\Scripts\> PAUSEPress any key to continue . . .
人到中年有点甜
呼如林