in reply to Telnet command with more than 1024 chars

"...telnet ...Windows Server...a series of commands..."

Perhaps using Powershell remote commands (Cmdlet Invoke-Command?) might be a better option?

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help