AdsiPS
AdsiPS copied to clipboard
Set-ADSIUser and Credential
Seems the Credential parameter is not used properly, the context seems off.
Look for other function using System.DirectoryServices.DirectorySearcher to correct it
I'll fix this soon unless someone has time to check.
cc: @christophekumor @MickyBalladelli @NicolasBn @omiossec
Fixed the search