【发布时间】:2017-02-09 16:08:42
【问题描述】:
我的问题是我可以在远程机器上调用命令 explorer.exe 而不给它任何路径参数,但是当我输入时:
Invoke-Command -ComputerName PC01 -Credential $cred -ScriptBlock {explorer.exe "C:\Foldername"}
什么都没有发生,除了我在日志中收到一条错误条目:
服务器 {75DFF2B7-6936-4C06-A8BB-676A7B00B24B} 未在要求的超时时间内向 DCOM 注册。
【问题讨论】:
-
你为什么要这样做?
-
您最终要以什么身份运行此过程? ...
标签: powershell powershell-remoting dcom