get-telnet command not found under powershell

hello experts
while i am trying to using get-telnet command via powershell, but looks like there is not such command by default, does it necessary to import some module like activedirectory or other steps to make it out?

thank you
beardog1113Asked:
Who is Participating?
 
footechCommented:
Frankly, that is a very different question than your original one.
You can try the script I already linked to.  Everything after line 117 are just examples, so you shouldn't actually run them.  Here's my suggestion:
 - delete everything after line 117, save the rest as a file "telnet.ps1"
 - in a PS console, change to the folder where you saved the telnet.ps1 file, and run
. .\telnet.ps1

Open in new window

(that command will run the script and create the Get-Telnet function so that you can run it)
 - now looking at the examples, run the Get-Telnet function and submit the commands needed to change the WiFi password.  I have no idea what those commands would be since I don't know your device.  You may have to experiment a bit.

If you need further help with that project, you really should ask a new question since it's so different than your original one.
0
 
footechCommented:
Get-Telnet is not a default cmdlet or included in any Microsoft modules.
There could be many Get-Telnet functions or scripts written by people on the internet, but this is the first one I found in a search - https://community.spiceworks.com/scripts/show/1887-get-telnet-telnet-to-a-device-and-issue-commands

In the posted script, the Get-Telnet function is defined, and you would have to run that code to create the function.  Then you could call it like in the examples at the end.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
The get-telnet appears to be some custom script from somewhere.

Not Microsoft. Not Linux. Not OSX.

You'll have to locate this script somewhere + make a local copy + get it working locally for your specific runtime environment.
0
 
beardog1113Author Commented:
hello
actually i just need a powershell script,put into windows schedule task, so that it could telnet network device such as wireless AP, to change WIFI network password daily, is there any other easy way to do this? for i am new for powershell script and need more detail help.
thank you
0
 
beardog1113Author Commented:
thanks, your post really helpful and i have done build my script base on the example.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.