PluginsOCSInventory-NG / runningDatabaseInstances

Retrieve running database on Windows
GNU General Public License v2.0
1 stars 4 forks source link

Should WID be excluded? #17

Open pchamorro2005 opened 1 year ago

pchamorro2005 commented 1 year ago

I wonder if WID should be excluded.

PS C:\Users> Get-WMIObject -query "Select Name , PathName from Win32_Service Where PathName Like '%sqlservr.exe%'"

__GENUS          : 2
__CLASS          : Win32_Service
__SUPERCLASS     :
__DYNASTY        :
__RELPATH        : Win32_Service.Name="MSSQL$MICROSOFT##WID"
__PROPERTY_COUNT : 2
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
Name             : MSSQL$MICROSOFT##WID
PathName         : C:\Windows\WID\Binn\sqlservr.exe -SMSWIN8.SQLWID -sMICROSOFT##WID
PSComputerName   :

The result for WID in ocs table is:

PUBLISHER                   NAME                            VERSION       EDITION         INSTANCE
Microsoft Corporation   Microsoft SQL Server                                          MICROSOFT##WID

Thank you

pchamorro2005 commented 1 year ago

Well, I think, no. It's useful to know that WID are used.