Challenge contacting a REST API via Invoke-Webrequest reading username and password from the command line in a secure fashion using that secure password in plain text for authentication Let’s read username and password from the command line. The password is obscured by dots, and it’s also not in the shell history.

$Password now contains […]