There are a lot of other functions and tools that could do the same, but most of them raise the bad counter by 2 (one for a bind and the other for the try itself).
I wanted a easy to use function that can do the same with just ONE (1) shot.
There are a lot of other functions and tools that could do the same, but most of them raise the bad counter by 2 (one for a bind and the other for the try itself).
I wanted a easy to use function that can do the same with just ONE (1) shot.
Ich wollte eine einfache Möglichkeit eine per Get-Credential in eine Variable gespeichertes PSCredential Objekt.
Es gibt Unmengen an Funktionen die das könne. Allerdings wird der BadLogonCount bei den meisten direkt um 2 erhöht. Das liegt daran, dass die meisten einen Bind machen und dann einen Befehl im Context absetzten. Das wollte ich aber nicht!