EvotecIT / Testimo

Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
MIT License
526 stars 58 forks source link

Non-English language errors #97

Closed SUBnet192 closed 4 years ago

SUBnet192 commented 4 years ago

I assume this is due to the apostrophe in the group name.

[i][Forest] Orphaned Administrative Objects (AdminCount) [Informative] [Erreur lors de l’analyse de la requête : « Member -RecursiveMatch 'CN=Administrateurs de l'entreprise,CN= Builtin,DC=excellence,DC=local' » Message d’erreur : « syntax error » à la position : « 49 ».]

PrzemyslawKlys commented 4 years ago

Interesting. Will have to investigate.

SUBnet192 commented 4 years ago

Replaced the ' ' with a back-tick to fix the issue. $Group = Get-ADGroup -Filter "Member -RecursiveMatch `$DistinguishedName"