Fre*_*man 1 .net powershell sharepoint powershell-ise
我有3个Powershell ISE脚本.
Script1.ps1,Script2.ps1,Script3.ps1
是否可以按给定的顺序运行所有脚本?当我问这个时,我不是建议并行行为,而是同步行为.要执行script2,它必须等待script1完成,执行script3必须等待script2完成,等等.
干杯...
.\script1.ps1
.\script2.ps1
.\stript3.ps1
Run Code Online (Sandbox Code Playgroud)
全部在*.ps1文件中,将由您自己在PS中启动.
| 归档时间: |
|
| 查看次数: |
3138 次 |
| 最近记录: |