-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I have problems to get my own Object Categories working with TestScript. The logic in TestScript did not filter.
I tried your example
@{
Name = 'DomainController'
ObjectClass = 'computer'
Property = @('PrimaryGroupID')
TestScript = { $args[0].PrimaryGroupID -eq 516 }
LDAPFilter = '(&(objectCategory=computer)(primaryGroupID=516))'
}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?
Metadata
Metadata
Assignees
Labels
No labels