PSWinReporting icon indicating copy to clipboard operation
PSWinReporting copied to clipboard

error in pswinreporting V2

Open paddy75 opened this issue 5 months ago • 4 comments

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.

Image

paddy75 avatar Nov 08 '25 06:11 paddy75

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.

PrzemyslawKlys avatar Nov 08 '25 07:11 PrzemyslawKlys

will the find-events also try to find and query DCs from trusted domains or only this one where the script is running?

paddy75 avatar Nov 08 '25 09:11 paddy75

it only targets the current forest, not over trusts.

PrzemyslawKlys avatar Nov 09 '25 08:11 PrzemyslawKlys

i tested today each command on 2 different servers and there was no problem with each of them

paddy75 avatar Nov 10 '25 14:11 paddy75