Powershell Search Ad for a User
$ADFilter = "*345" #anything which has 345 at end
Get-ADUser -Server $Domain -Filter { SamAccountName -like $ADFilter } -Properties *
references:
Subscribe to NordLetter
A weekly newsletter on living in Finland.
$ADFilter = "*345" #anything which has 345 at end
Get-ADUser -Server $Domain -Filter { SamAccountName -like $ADFilter } -Properties *
references:
A weekly newsletter on living in Finland.