Password Prompt

Welcome Forums General PowerShell Q&A Password Prompt

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
1 year, 8 months ago.

  • Author
    Posts
  • #65974
    Ri

    Participant
    Points: 0
    Rank: Member

    Hi,

    I have a powershell script that works OK – however, the WinSCP requests password re-entering after couple of hours. When this happens the powershell script stops and the transfer of files is terminated.

    I want to the script to continue when the password is prompted by WinSCP – How can I achieve that in the code?

    Thanks

  • #66121

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    Your script would need to trap that error condition and re-submit the password.

The topic ‘Password Prompt’ is closed to new replies.