If you're not aware, Basic Authentication has been deprecated for pretty much everything in PowerShell. So, all those nifty PowerShell examples you found across the internet? All the help docs for everything you need to use? All of your team's meticulously documented SOPs? Broken. They all need to be updated.