32. PowerShell -- 批处理中执行远程的powershell脚本的方法
Execute the powershell.ps1 fileREM Executepowershell.ps1 file
powershell -ExecutionPolicy RemoteSigned "%systemdrive%\Tools\Scripts\powershell.ps1"
PowerShell.exe .\powershell.ps1 %–parameter1%1 %–parameter2% 2
页:
[1]