我想在多個遠程機器上安裝應用程序。Powershell遠程驗證和應用程序安裝
invoke-command -computer 10.13.14.10 -scriptblock {\\publicshare\software.msi /quiet}
我運行此命令從我的本地機器上登錄爲我的用戶權限,好像我必須執行這個作爲高權限的用戶(域管理員)。我怎麼做?
錯誤 - [10.13.14.10] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit creden tials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more informatio n on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (:) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken