How to display the command line that was called with expanded parameters

前端 未结 0 1066
清歌不尽
清歌不尽 2020-12-31 18:48

I discovered that within a ps1 script I can display the command line that launched the script with :

Write-Information $MyInvocation.Line -InformationAction Con

相关标签:
回答
  • 消灭零回复
提交回复
热议问题