Ever wanted to search for empty AD attributes? Try using $null
For example, to show all users with no email details set, use the following:
For example, to show all users with no email details set, use the following:
Get-QADUser| where {$_.mail -eq $null}
No comments:
Post a Comment