Powershell小技巧之捕获脚本内部的异常 先看一个脚本文件:3 three test ps1 复制代码 代码如下: Get-FanBingbing 命令不存在 然后这样捕获: 复制 PowerShell 2022-04-08 76 点赞 1 评论 115 浏览