Testing user credentials with PowershellBy gbe0Posted May 11, 2018April 17, 2021Powershell, WindowsTo test a users credentials you can start a process using Start-Process with the -Credential flag.As an example, to start cmd.exe and prompt for the username and password:Start-Process -FilePath cmd.exe /c -Credential (Get-Credential)