Hello everyone, i am writing a Powershellscript which shuts down some
machines. One of these is a Fortigate. So I establish a new SSH-Session
and invoke the "execute Shutdown"-Command. But how can I confirm it with
"y"? Is there any "force"-command o...
Hi Markus, just try it with a SSHStream: $SSHStream = New-SSHShellStream
-Index 0 $SSHStream.WriteLine("execute shutdown") $SSHStream.Read()
regards, Dominik
You are leaving our website
You are leaving our site and we cannot be held responsible for the content of external websites