Hi,
some commands to manage Active Directory Domain Controllers by using the .NET System.DirectoryServices.ActiveDirectory.Domain Class.
Load the assembly
1 | [reflection.assembly] ::LoadWithPartialName( "System.DirectoryServices.Protocols" ) |Out -Null |
Get a Domain Object with the logon Domain of the current user
Continue reading Powershell: Active Directory Domain Operations