Get list of Dcs with Seleted properties



Get-ADDomainController -Filter * | Select Name, ipv4Address, OperatingSystem, site | Sort-Object -Property Name >C:\DC_Overview.txt


Get list of Dcs with All extra properties\\
Get-ADDomainController -Filter *


Get Domain Controller with all Properties of one DC\\
 Get-ADDomainController <dc name>




Comments

Popular posts from this blog

Copy file to multiple remote server using powershell