Simple powershell script to get all domain controller details in domain.
PowerShell
$objDomain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $objDomain.FindAllDomainControllers() | Select-Object Name
No comments:
Post a Comment