Powershell script to find out the Telnet services is running on windows remote devices

Mohammed Sharfuddin Maqsood 0 Reputation points
2023-12-07T18:19:07.1966667+00:00

Powershell script to find out the Telnet services is running on windows remote devices

Microsoft Security Intune Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2023-12-07T18:56:19.34+00:00

    Thanks for posting your question in the Microsoft Q&A forum.
    You can check using the get-service of tlntsvr as follows:

    Get-Service -ComputerName "HostnameOrIP" -Name "tlntsvr" -ErrorAction Stop

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    0 comments No comments

  2. ZhoumingDuan-MSFT 17,165 Reputation points Microsoft External Staff
    2023-12-08T02:33:29.33+00:00

    @Mohammed Sharfuddin Maqsood,Thanks for posting in Q&A.

    From your description, I know that you want to find out Telnet services is running on windows remote devices using PowerShell.

    Based on my research, I find that you can use the command below to check if the Telnet service is run on a remote windows device.

    $computerName = "RemoteDeviceName"

    Get-Service -ComputerName $computerName -Name TlntSvr | Select-Object -Property Name, Status

    Replace RemoteDeviceName with the name of the remote device you want to check.

    Hope this can help you.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.