Using PowerShell - Get all Users account in forest

preview_player
Показать описание
Using PowerShell - Get all Users account in forest

1. Prepare

2. Step by step : Get all Users account in forest

- DC2 : Get all Users account in forest

+ Start - Windows Administrative Tools - Active Directory Module for Windows PowerShell, type :

+ (Get-ADForest).Domains # Get all Domains in forest

+ (Get-ADForest).Domains | %{ Get-ADuser -Filter * -properties * -Server $_} | Select Name,distinguishedName

# Get all Users account in forest


Рекомендации по теме