PowerShell can validate AD username and passwords against the Active Directory:
Add-Type -AssemblyName System.DirectoryServices.AccountManagement
$account = New-Object System.DirectoryServices.AccountManagement.PrincipalContext([DirectoryServices.AccountManagement.ContextType]::Domain, $env:userdomain)
Note that this approach is for diagnostic purposes only. It accepts a plain text password.
ReTweet this Tip!
Powered by IDERA