Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Powershell running multiple commands

$
0
0
Because Invoke-SshCommand is not executing in a shell but using SSH Exec to execute the command so the "cd" does nothing to change a current working directory because you are not in a shell. You would need to create a shell stream and execute your commands inside of it.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>