我使用Start-Transcript
输出过程日志。但是,在将powershell脚本转换为.EXE之后,输出日志为空,它只是显示此内容
**********************
Windows PowerShell transcript start
Start time: 20190924101232
Username: \SYSTEM
RunAs User: \SYSTEM
Configuration Name:
Machine: MININT-C7288U2 (Microsoft Windows NT 10.0.17763.0)
Host Application: powershell.exe -ExecutionPolicy Bypass -File X:\CUSTOM\\190910.ps1
Process ID: 1208
PSVersion: 5.1.17763.134
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.134
BuildVersion: 10.0.17763.134
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
任何人都可以提供建议如何处理它?谢谢