PasswordPrompt Parameter (Connect-SFTP Cmdlet)
The shell prompt used for keyboard-interactive authentication.
Syntax
Connect-SFTP -PasswordPrompt string
Remarks
If AuthMode is set to Keyboard-Interactive, the shell's password prompt must be specified in PasswordPrompt. At connection, the cmdlet will wait for the PasswordPrompt and provide the Password when it is received.
Default Value
"password"