Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

error from dos command when running PS on remote server

$
0
0

Hi,

I'm trying to execute a dfsr command on a remote server via a ps session.

on server A (non dfsr) i' executing this :

invoke-command -computername serverB -scriptblock {dfsrdiag backlog ....}

this should tell me how many files there are in  the backlog of a particular replication group ...

using the invoke command i'm getting this error : [ERROR] Failed to connect to WMI services on computer: ServerX

when i'm running the command locally on serverB or X (same credentials) i'm getting the result i've execpted !

any idea ?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>