PowerShell script to pass SecureString to Plink as account and sudo passwords
问题 I'm trying to use Powershell (in order to be able to mask the password) to run Plink command on remote Linux machine to give top 20 directories under /opt... It connects, password is properly masked but no results Write-output shows the assembled command string is correct... but it just appears to hang and does not return results. could the it be that the write-output results is different than what plink actually sends? When I copy the write-output to cmd prompt and directly run it, it works