I am trying to configure a randomly generated password into a application that runs in the command prompt. As with most passwords you need to verify the password, ie type it a second time.
How can I automate this? Preference is Powershell, however cmd will work.
Example SetPassword.exe Type password: XXXXX Verify Password: XXXXX
I need to automate the passing of XXXXX into the command prompt window.