且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用不同的凭据运行 powershell 脚本

更新时间:2022-12-02 19:26:34

Invoke-Command -FilePath "yourPath\yourScript.ps1" -ComputerName yourServer -Credential Get-Credential