更新时间:2023-12-05 11:06:28
在你的 powershell 脚本的开头添加一个空的 try-catch
块来停止转录怎么样?
What about an empty try-catch
block at the beginning of your powershell script to stop transcribing?
try{
stop-transcript|out-null
}
catch [System.InvalidOperationException]{}