Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 PowerShell 脚本在此处输入 Ctrl-Y,以便自动执行此任务。请让我知道如何做到这一点。
欢迎任何建议。
尝试这样的事情:
[System.Windows.Forms.SendKeys]::SendWait('^y')
希望能帮助到你!BR