4 ms·
PS> cat myfile | out-string | iwr -Method Put -Uri https://transfer.sh/myfile.txt
by stinos 11y ago
PS> cat myfile | out-string | iwr -Method Put -Uri https://transfer.sh/myfile.txt
- stephengillie 11y agoPS> Invoke-SSHCommand { cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt } -session 0 SSH.NET: https://sshnet.codeplex.com/ https://sshnet.codeplex.com/