powershell如何在start-porcess后在新的窗口中输入命令


PowerShell交流中心powershell如何在start-porcess后在新的窗口中输入命令
0
大雄 asked 6 年 ago

通过powershell调用start-process后,会弹出一个新的cmd窗口,如何执行新的命令在弹出的cmd窗口中

1 Answers
1
Best Answer
Mooser Lee 管理员 answered 6 年 ago
Start-Process cmd -ArgumentList '/c ping pstips.net'

Net replied 5 年 ago

感谢 正好试试自动部署SQL