Automate Telnet / SSH in PowerShell

Please refer to the following on how to automate the Telnet / SSH commands to Linux Host by using WASP (Windows Automate)

  1. Install Choco by following my previous post here
  2. Install “wasp” using “choco” and copy the downloaded modules to Windows PowerShell Module path
  3. Import the “wasp” module, and send the telnet / ssh command to the Linux host automatically

With the following, I can prepare the commands that I need to execute in Linux / Network Devices automatically

Example #1 – To Send Email via SMTP Telnet Commands

Example #2 – To telnet to Linux , and perform some basic Shell commands

Share This