Hey Guys,
maybe someone of you can help me. I Want to get on the Sophos Firewall Shell via Powershell Invoke-SSHCommand.
My Problem is, the Sophos Firewall starts with a Bash Menu (Linux Based action Menu) I need to send the Keystroke 5 and 3 to start the shell.
Is there a way to send these Keystroke over Invoke-SSHCommand -SessionId X -Command {…?}
To Type the Number in Command Bracket doesn’t work:
Invoke-SSHCommand -SessionId 1 -Command {5} Invoke-SSHCommand -SessionId 1 -Command {3}
Host : X.X.X.X
Output : {% Error: Unknown Parameter ‘5’}
ExitStatus : 0
Host : X.X.X.X
Output : {% Error: Unknown Parameter ‘3’}
ExitStatus : 0
BR
Patrick