PowerShell with a Purpose Blog

Alternate Credentials with No Popup for Password

I don't often point off to other folks' blogs here, but this is a dead-usefultrick for avoiding password pop-ups.

I have to point out that you're encoding a password - probably an admin one - in clear text, which is crazy if you're not careful. So just keep that in mind. 

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.