标签: powershell
我需要你帮助显示登录凭证而不使用PowerShell中的弹出窗口。主要是我需要在命令窗口中输入密码,不应显示密码输入。请帮助我这方面
由于
答案 0 :(得分:0)
$password = read-host -assecurestring $credential= new-object -type Management.Automation.PSCredential -arg $user, $password $credential
其他选项here