It is like the RunAs, but you can script the password.