The telnet command in not installed by default anymore. You can use this command below instead in a PowerShell prompt:
Test-NetConnection -RemoteAddress 10.1.1.1 -Port 23