#PSTip Verify Active Directory account credentials using System.DirectoryServices.DirectoryEntry
The System.DirectoryServices.AccountManagement namespace provides a nice way of testing if a set of Active Directory credentials are correct (also discussed in PSTip Validating Active Directory user credentials ).
Read More