Avatar of beardog1113
beardog1113Flag for China

asked on 

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
PowershellShell Scripting

Avatar of undefined
Last Comment
beardog1113
Avatar of footech
footech
Flag of United States of America image

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.
Avatar of David Favor
David Favor
Flag of United States of America image

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.
Avatar of beardog1113
beardog1113
Flag of China image

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of beardog1113
beardog1113
Flag of China image

ASKER

thanks, your post really helpful and i have done build my script base on the example.
Powershell
Powershell

Windows PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework. PowerShell provides full access to the Component Object Model (COM) and Windows Management Instrumentation (WMI), enabling administrators to perform administrative tasks on both local and remote Windows systems as well as WS-Management and Common Information Model (CIM) enabling management of remote Linux systems and network devices.

27K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo