visual studio code 執行 sp1 文件

須要安裝插件PowerShellgit

 

如提示 Unsupported PowerShell version 2.0, language features are disabled  (不支持的PowerShell版本2.0,語言功能被禁用)github

 解決以下shell

Git Clone代碼到本地插件

git clone http://www.github.com/PowerShell/vscode-powershellcode

 

另外,有可能執行 .sp1 文件時,有提示 在此係統中禁止執行腳本  ,解決方法it

在powershell中執行 set-ExecutionPolicy RemoteSignedio

相關文章
相關標籤/搜索