Powershell asks for credentials only once but reports wrong password
I am trying to automate network drive mapping. Because of a Windows issue, my drives don’t persist after reboot and I get misleading error messages. To overcome this, I wrote a powershell script.