如何在一个PS脚本中启动多个其他的PS脚本?


PowerShell交流中心 › 分类: 进程和服务 › 如何在一个PS脚本中启动多个其他的PS脚本?
0 赞 踩
蓝天白日梦 asked 8 年 ago

使用不同的进程启动多个其他ps文件 如:
启动 c:\a.ps
启动 c:\b.ps
启动 c:\c.ps

1 Answers
3 赞 踩
Best Answer
Mooser Lee 管理员 answered 8 年 ago
Start-Process powershell -ArgumentList a:\a.ps1
Start-Process powershell -ArgumentList C:\b.ps1
Start-Process powershell -ArgumentList C:\c.ps1