Microsoft Windows Active Directory tools and notes. List Domain ControllersGet-ADDomainController -Filter * | Format-Table Name, Site, OperatingSystem, IPv4Address, IsGlobalCatalog -AutoSize # Get the Forest functional level (Get-ADForest).ForestMode # Get the Domain functional level (Get-ADDomain).DomainMode Get-ADDomainController -Filter * | Format-Table Name, Site, OperatingSystem, IPv4Address, IsGlobalCatalog -AutoSize Get-ADReplicationSiteLink -Filter * | ft Name, Cost, ReplicationFrequencyInMinutes Account LockoutI recently needed to find out want machine was causing a users account to continually get locked out. I had previously had the benifit of just being able to look to a monitoring alert that generated an email for account lockouts and included the content of the Event ID. This time no such luck.
Microsoft Account Lockout and Management Tools (ALTools.exe)
Directory Size %windir%\NTDS\NTDS.dit FSMO RolesList the Roles and Servers that hold those roles
List Password Policy
Replication status
DNS statusDCDiag /Test:DNS /e /v > .\DCdiagDNS.txt ADRAP Prep toolGreat tool for testing network access between different Domain Controllers. Risk and Health Assessment Program for Active Directory – Scoping Tool v1.4 Active Directory Web Service ADWSSubnets without a defined siteEvent id 5807 %SystemRoot%\debug\netlogon.log LDAP querieshttp://www.petri.co.il/ldap_search_samples_for_windows_2003_and_exchange.htm LDIFImport and export .ldif files. https://github.com/jhbooth/LDIF-PowerShell LinksNew resolution for problems with Kerberos authentication when users belong to many groups How to force Kerberos to use TCP instead of UDP in Windows Limiting a user's concurrent connections in Windows Server 2003 Addressing Problems Due to Access Token Limitation http://technet.microsoft.com/en-us/library/cc773360%28WS.10%29.aspx Urgent replication http://technet.microsoft.com/en-us/library/cc772726%28WS.10%29.aspx#w2k3tr_repup_how_huzs http://www.windowsitsecurity.com/articles/print.cfm?articleid=102483 |