Use-Powershell
05 February 2014
Find user in active directory with missing or empty attribute
Get-ADUser -Filter {-not (employeeid -like "*") }
will return all object that have the property empty.
using $null to match the filter citeria will result in an error:
Get-ADUser : The search filter cannot be recognized
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment