locked
Read password securely without interactive prompt RRS feed

  • Question

  • is there any way to read password as a secure string in the console itself without prompting a new window for password?
    • Edited by Sun i ta Thursday, July 13, 2017 6:37 AM
    Thursday, July 13, 2017 6:36 AM

All replies

  • $pwd = Read-Host -AsSecureString


    \_(ツ)_/

    • Proposed as answer by I.T Delinquent Thursday, July 13, 2017 8:29 AM
    Thursday, July 13, 2017 7:53 AM