DomainPasswordSpray
DomainPasswordSpray copied to clipboard
Update DomainPasswordSpray.ps1
Potential fix for https://github.com/dafthack/DomainPasswordSpray/issues/21
Tested and works on latest W10 and Domain+Forest functional level 2016. The bug was introduced in #12.
Using ADSI, like in this commit, is a better solution than #24 which relies on the AD PS module which is not always available.