Article View: comp.misc
Article #181Re: SQL inside Windows OS?
From: Andy Burns
Date: Sat, 14 Nov 2026 08:42
Date: Sat, 14 Nov 2026 08:42
26 lines
1947 bytes
1947 bytes
Sylvia Else wrote: > This is a re-post, of sorts, since my previous attempt seems to have > vanished into the void - something that Thunderbird occasionally does to > me. FWIW I don't remember your previous attempt making it to anwhere I was looking. > I was using a command in Windows Powershell and got this error > > Get-NetTCPConnection: No matching MSFT_NetTCPConnection objects found by > CIM query for instances of the ROOT/StandardCimv2/MSFT_NetTCPConnection > class on the CIM server: SELECT * FROM MSFT_NetTCPConnection WHERE > ((State = 2)) AND ((OwningProcess = 99310)). Verify query parameters and > retry. > > This was an attempt to get the network ports on which a process is > listening. > > And it's doing an SQL query to achieve that? Are you for real? Not Microsoft's fault, the DMTF produced the CIM and WBEM standards, that's where the SQL-a-like query language comes from. Microsoft implemented them as WMI on Windows, then later stacked Powershell cmdlets on top of that.
Technical Details
Message-ID:
<nlql7vF1s4pU1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<nlq36rFtn8pU1@mid.individual.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Andy Burns <usenet@andyburns.uk> Newsgroups: comp.misc Subject: Re: SQL inside Windows OS? Date: Sat, 14 Nov 2026 08:42:40 +0000 Lines: 26 Message-ID: <nlql7vF1s4pU1@mid.individual.net> References: <nlq36rFtn8pU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net jiFUkfkyIipoxZ+YgSo3rA5Yff8kZJ0bd9zUI8SSg9cl643ywb Cancel-Lock: sha1:D357rnm2O6szASQ1N5YHuAeyIvs= sha256:Fj4nYyAez6zTI+HXWAeAtYiaF4oaza0TfW4t6DjYPAw= User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: <nlq36rFtn8pU1@mid.individual.net>