-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object Categories and TestScript #54
Comments
Sorry about the late response That said, I cannot reproduce your issue. Either start a new console or run: Import-Module ADMF -Force |
My Object Categories
TestScript filters to group id 517 and LDAP to 516. This should result in no Computer
Group 'TestDc' does exist and is empty PS Output:
|
Heya @dbeugger , In case of group memberships, it uses the LDAPFilter to build a list of intended members, then compares it to the actual members, which is why you get that result. |
Hi @FriedrichWeinmann
However, this will assign all (more than 360) AD objects (container, organizationalUnit, group,...) to the group. This looks like ObjectClass and TestScript have no influence. I have set that of ObjectClass to 'xx'. This gives the same result. I have changed the FIlter to I also tried a -LIKE with distinguishedName in the filter. But that doesn't seem to be supported by Get-AdObject.
Am I doing something wrong? |
I have problems to get my own Object Categories working with TestScript. The logic in TestScript did not filter.
I tried your example
This way a got all DC's. Then i changed in TestScript the number to 517, I expected no DC, but i got all again.
I changed it toTestScript = { $false }, the same result.
Did I miss something?
The text was updated successfully, but these errors were encountered: