Get AD user Properties across the forest
#get all AD users in forest with name like v- and status is enable $allusers = (get-adforest).domains| %{get-aduser -filter {SamAccountName -like “v-*” -and Enabled -eq $true} -Properties EMployeeNumber -Server $psitem} … Read More