read-host question
i using read-host command have user input password automatically map several network drives using following command example
$password = read-host "please enter nt password"
is there way when dialog box opens him type in password instead of showing password in plain text hides stars or bullets or something?
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Windows Server > Windows PowerShell
Comments
Post a Comment