win10下 VS Code的powershell 问题

1.查看当前状态
Get-ExecutionPolicy -List
2.(1)修改CurrentUser的状态为 RemoteSigned
Set-ExecutionPolicy -Scope CurrentUser
RemoteSigned
(2)修改LocalMachine的状态为 RemoteSigned
Set-ExecutionPolicy RemoteSigned LocalMachine
win10下 VS Code的powershell 问题_第1张图片

你可能感兴趣的:(tools)