Post

AD Tüm Kullanıcıları Almak PowerShell

PS:

Tüm-All domaindeki userlar:

Get-ADUser -filter * -properties * | Select-Object -Property DisplayName,samaccountname | ConvertTo-Csv | Out-File C:\\Tum_Users.CSV

OU Bazlı Sorgulama:

Get-ADUser -Filter * -SearchBase "OU=uyeler,DC=guler,DC=com" -properties * | Select-Object -Property DisplayName,samaccountname | ConvertTo-Csv | Out-File C:\\OU_altindaki_Users.CSV
This post is licensed under CC BY 4.0 by the author.