Powershelli kullanarak Activedirectory de bulunan tüm userları UTF8 setinde excel dosyaya export eder.
-- Tüm AD user listesini powershell ile almak için
Get-AdUser -filter "samaccountname -like '*'" -Properties * | select displayname, samaccountname |Export-Csv -Path "C:\Info\Kullanicilar.csv" -NoTypeInformation -encoding UTF8
-- Arama yapıp user listesini powershell ile almak için
Get-AdUser -filter "samaccountname -like 'UserKodu*'" -Properties * | select displayname, samaccountname |Export-Csv -Path "C:\Info\Kullanicilar.csv" -NoTypeInformation -encoding UTF8