1 2 3 |
Set-SCPFile -LocalFile .\index.html -ComputerName 192.168.1.162 -RemotePath . -Credential (Get-Credential) Invoke-SSHCommand -Index 0 "ls index.html" Invoke-SSHCommand -Index 0 "ls -la index.html" |
Ver el fichero subido en el servidor Linux
Ver el fichero subido en el servidor Linux desde PowerShell
1 |
(Invoke-SSHCommand -Index 0 "cat index.html").output |