Gets a list of all of the domain controllers for all the domains within a forest.



$allDCs = (Get-ADForest).Domains | %{ Get-ADDomainController -Filter * -Server $_ } | export-csv -path C:\Dclist.csv -NoTypeInformation


1 comment

You cannot reply to comments if the comment location is not embedded

  1. December 17, 2022 at 1:35 AM
    instagram takipçi satın al
    casino siteleri
    ZUJWU