I have figured out recently on the Cisco switches on the network I work on the "term pager 0" doesn't work.
Dim result1 As String = DoCommand(client, "enable" & vbLf & "enablePass" & vbLf & "term pager 0" & vbLf & "sh run" & vbLf)
Instead I had to use "terminal length 0" to get the same result.Dim result1 As String = DoCommand(client, "enable" & vbLf & "enablePass" & vbLf & "term len 0" & vbLf & "sh run" & vbLf)
I hope this helps someone out. Your example is a great one for learning and has helped me get started working with this library. Tip my hat off to you!