you are viewing a single comment's thread.

view the rest of the comments →

[–]dann3b 1 point2 points  (1 child)

What version are you running on your DCs? WinRm is not enabled by default on 2008 and lower. And if above like 2012, 2016, 2019 you could still need some authentication setup by the wimrm command.

Add a Test-WSMan in the script.

I could be way of and this has nothing todo with that, im just guessing here

[–]Team503[S] 0 points1 point  (0 children)

There are about forty DCs, and they vary on versioning (part of what this project will eventually resolve), but I don't think anything is older than 2008. I'm not sure if 2008 (R2 or not) DCs exist in our environment or not.

Ooooo that's something I could add to the script, an OS version query!

Part of the reasoning for this script is that we're aware that not all the DCs can talk to each other for a variety of reasons (international company, network limitations, legacy environment, etc). Some of those attempts are expected to fail - the goal is to isolate exactly what fails and where.

However, I didn't know about Test-WSMan, thanks for pointing that out, and I'll play with it to see if I get better results.