PSADHealth icon indicating copy to clipboard operation
PSADHealth copied to clipboard

Missleading Result from Test-SRVRecords

Open tduemesnil opened this issue 5 years ago • 1 comments

Hello.

One of our DC's Hostname is set with a capital Character ex. Berlin.

In the _msdcs Zone the system generates two Records one with all lowercase an one with the uppercase Name.

So your Test with No. of DC's -eq No. of SRV Records fails.

Solution could be to normalize the Hostname to lowercase and count distinct records or change to No. of DC -le No. Srv Records.

Thanks for your tools :+1:

tduemesnil avatar Dec 04 '19 12:12 tduemesnil

I made a quick update based on your comment. Let us know if it works for your issue. I don't have my full lab running to validate.

dohminion avatar Dec 05 '19 02:12 dohminion