@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.