error in pswinreporting V2
Hi, I'm using the following code and get back the error what you can see at the end of the screenshot. This error only happens, when the "DetectDC" is used. If I use "Servers" with there is not problem. I tried it on different servers to run, but on all the same error occurs.
Well type Get-ADForest, Get-ADDomain, Get-ADDomainController -Filter * for all your domains and see which one returns that issue. Most likely something in AD is causing this.
will the find-events also try to find and query DCs from trusted domains or only this one where the script is running?
it only targets the current forest, not over trusts.
i tested today each command on 2 different servers and there was no problem with each of them