0
我已经阅读了很多关于如何在远程PC上运行.bat文件的示例,我需要的是基于PowerShell invoke-命令:尝试使用PowerShell时没有错误或结果在远程PC上执行.bat文件
invoke-command -computername RemotePC -scriptblock {start-process c:\things\Thing.bat}
当我运行该PowerShell行时,它不会在远程pc上运行.bat文件,并且不会返回错误。请任何帮助。