【发布时间】:2011-05-05 23:05:53
【问题描述】:
我知道如何使用类似的方式更改主 ISE 窗口的标题
$Host.UI.RawUI.WindowTitle = "My Awesome New Window Title"
但我想知道如何访问在读取主机请求时弹出的窗口标题,例如:
$strP4Pass = Read-Host "Please enter Perforce Password" -assecurestring
它以 Windows PowerShell ISE - Input 作为标题弹出 - 是的,我知道我有我的 Please enter Perforce Password 提示 在 窗口中 - 但我真的希望能够自定义标题 -有什么想法吗?
【问题讨论】: