Tag archives for FindAllDiscoverableDomainControllers

How to get all domain controllers IP Addresses and names within one forest using C#

hello there check below code if you are interested in getting all Active directory Domain Controllers Names and IP addresses within one forest   Forest obj = System.DirectoryServices.ActiveDirectory.Forest.GetCurrentForest(); DomainCollection collection = obj.Domains; foreach (Domain domain in collection) { DomainControllerCollection domainControllers…

Posted in Programming | Leave a comment

Swedish Greys - a WordPress theme from Nordic Themepark.