C:\Users\marbr>where netstat C:\Windows\System32\NETSTAT.EXE
C:\Users\marbr>netstat -an | find "3306" TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING TCP [::]:3306 [::]:0 LISTENING
PS C:\Users\marbr> (get-command netstat).path C:\WINDOWS\system32\NETSTAT.EXE
PS C:\Users\marbr> netstat -an | select-string "3306" TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING TCP [::]:3306 [::]:0 LISTENING