简体   繁体   中英

How to start multiple process in PowerShell

How does one start a process or program simultaneously?

Such as to open 5 notepads with one cmdlet?

您可以通过Start-Process执行此操作,可以在此处找到示例和文档。

1..5 | % { Start-Process notepad.exe}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM