Today, we will try to shed light on a feature that was introduced in Windows Power Shell 2.0: parameter validation.
Is there a way to verify my credentials to make sure that what I typed in will validate with the Domain?
I'd like to find a way to query the Domain controller.
When I run this script, it will prompt me for my password.
I sometimes fat finger the password and the process starts, which locks out my account.
In this example, you have three parameters Name, Age, and Path.