Like Us
Plus One
Follow Us
Search
 Author Jeff Jones  Views 442 View Original Article

Given a filter value, this PowerShell function will query Active Directory to find a matching user object and store results in a memory cache.  By default “samAccountName” is used for filter.  Optional field name can be provided to filter by any field such as Manager, Mail, or DN.  Cheers!       Source Code https://github.com/spjeff/spadmin/blob/master/lookupADUser.ps1   # DataTable cache $cacheUsers = New-Object System.Data.DataTable("users…
View Original Article

Recent Articles from @SPJeff