Encountering “Invalid Certificate” error message (as stated below) after logging in through Powershell.
Perform the following cmd to solve this:
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
After which you can try logging in again, with succes