Sql Query Hardware Information
Select from sms r system inner join sms g system computer system on sms g system computer system resourceid sms r system resourceid where sms g system computer system roles like domain controller.
Sql query hardware information. You can find out the following. How many cpus are there in the server. Select from v gs installed software vis join v gs computer system vsc on vis resourceid vsc resourceid where vis productname0 like sql server ofcourse the hardware inventory has to be enabled and collected first. Thank you for your help arun.
The resource explorer works with all sccm client platforms. For day 8 of this series we start out with query 16 which is hardware info. You can use a query based on v gs installed software and v gs computer system sql views something like. Select cpu count as logical cpu count scheduler count.
Amount of physical memory available physical memory kb sql server 2012 onwards. The sys dm os sys info is available since sql server 2005 and contains information about server resources. Hello please can someone help me i am using sccm 1710 and sql 2014 for reporting i am looking sql query to get all hardware type list model type hardware name like dell hp lenovo bios ver etc. This query requires that the sccm client is installed and hardware inventory is turned on.
How to find system hardware details using sql query today i got a task to collect hardware details of all servers i m supporting oh hell we have 500 servers its not possible to go on each server and collect manually even though we have a big team here guess what junior dba s already start doing this manually but that s not the. To call this from azure synapse analytics sql data warehouse or parallel data warehouse use the name sys dm pdw nodes os sys info. Returns a miscellaneous set of useful information about the computer and about the resources available to and consumed by sql server. Query 16 is shown in figure 1.
Right click on any device and select start then resource explorer. Total logical processors. Because hardware inventory can be extended one configuration manager site s sql database might have different hardware inventory views and schema when compared to another site. Hardware information from sql server 2016 query 16 hardware info 2.
The resource explorer tool will open and by expanding each sections you will be able to find any hardware inventory information related to a device.