使用powershell执行在线脚本的具体示例

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" 

posted @ 2018-08-25 10:58  r48  阅读(824)  评论(0编辑  收藏  举报