Proxy Authentication with Powershell

Today I just wanted to write a quick note about how to authenticate to a proxy within a Powershell script.  Most corporate networks have proxies, and most also require authentication.  The problem is, if you try to connect to any Internet resource, such as installing a Powershell module via the Install-Module command or downloading a file or other info from a website, you may see something like this: Continue reading