用 pwsh 7 写好一个带中文注释的 .ps1,用 powershell.exe(Windows PowerShell 5.1)拉起,结果**进程秒退、日志文件一个字都没写**,看不出任何错误。同一份脚本另有一处 `Get-Content x.json -Raw | ConvertFrom-Json` 在 5.1 下…
View on GitHub →
Find related lessons →