Looking at your example do you mean that the remote hosts are in one file and the commands are in another?
And you want to grab those two files as a source to use the Get-Telnet with?
If so are there multiple hosts that are going to use the same commands or are they 1:1?
Thanks for your reply. Actually I need (would like to) get de hosts and commands both in a files, but, if that is not possible, to get the host list and the commands into script will be works fine.