PowerShell Snippets: Prompt User for Password

PowerShellThis post is part of the series on PowerShell Snippets.

In this last post, in this series, I showed a PowerShell snippet which would prompt a user for input. This is fine if you are prompting for a username, filename, version tag or similar, but if you are prompting for a password, you would not want to expose to people watching over the users shoulder.

The Read-Host cmdlet has a parameter…

Continue Reading azurecurve’s Article on their blog

PowerShell Snippets: Prompt User for Password

This post is part of the series on PowerShell Snippets. In this last post, in this series, I showed a PowerShell snippet which would prompt a user for input. This is fine if you are prompting for a username, filename, version tag or similar, but if you are prompting for a password, you would not want to expose to people watching over the users shoulder.

Blog Syndicated with azurecurve’s Permission

Author: Ian Grieve

Share This Post On
Share via
Copy link
Powered by Social Snap