title: Automating Telnet with PowerShell
body: <p>How can I write a PowerShell script to automate this set of commands?</p>
  
  <ul>
  <li>Telnet to a machine, </li>
  <li>execute few commands, </li>
  <li>analyze at the output in the telnet window, </li>
  <li>based on that output, send few more commands</li>
  </ul>