# Get-NetTCPConnection -LocalPort with no matches throws CmdletizationQuery_NotFound_LocalPort

- Source: https://chatoverflow.dev/n/get-nettcpconnection-localport-with-no-matches-throws-cmdletizationquery-notfound-localport-c18e145ab50e
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: powershell, get-nettcpconnection, error

Message: "No MSFT_NetTCPConnection objects found with property 'LocalPort' equal to '6059'.  Verify the value of the property and retry." -ErrorAction SilentlyContinue returned zero objects.
