These simple SQL queries can be used to pull data from the Configuration Manager database to provide you with a count of all make, model and architecture devices in your business. Instructions To get this information, open a new query within SQL Server Management Studio and copy and paste the query that you wish to […]
WQL
SCCM Collection Query for Devices with specific software installed and version or below [2023 Updated]
![SCCM Collection Query for Devices with specific software installed and version or below [2023 Updated] 2 sccm_mecm_logo](https://techygeekshome.info/wp-content/uploads/2014/01/sccm_mecm_logo.jpg)
If you need to identify machines with specific software installed on a device but would also like to know whether they have a certain version of the stated software or below, then you can use the below query. This can help with software upgrades to identify machines that have not yet been upgraded. SCCM Collection […]
How to Automatically Remove Spotify using SCCM [2022 Updated]
![How to Automatically Remove Spotify using SCCM [2022 Updated] 3 How to Automatically Remove Spotify using SCCM](https://techygeekshome.info/wp-content/uploads/2016/11/How-to-Automatically-Remove-Spotify-using-SCCM.png)
How to automatically uninstall Spotify installations using System Center Configuration Manager (SCCM).
SCCM Collection Query for Virtual Machines
![SCCM Collection Query for Virtual Machines 4 SCCM Collection Query for Virtual Machines](https://techygeekshome.info/wp-content/uploads/2020/07/SCCM-Collection-Query-for-Virtual-Machines.jpg)
Just a quick post to add to our list of SCCM collection queries. We needed one today for a collection of virtual machines only. This query you can use to create a collection to do this: You can check out our other SCCM collection queries by following this link.
SCCM – Create a device collection based on Domain Controller role
![SCCM - Create a device collection based on Domain Controller role 5 microsoft black logo](https://techygeekshome.info/wp-content/uploads/2017/05/microsoft.png)
We have another WQL query here for you today to enable you to create a Configuration Manager collection based on whether a device is used as a domain controller. Go ahead and create a new device collection and then use this query: Save the query and you should now see a collection of all your […]
SCCM – Hardware and Client Version SQL Query
![SCCM - Hardware and Client Version SQL Query 6 sql2016](https://techygeekshome.info/wp-content/uploads/2016/10/sql2016.jpg)
If you are looking for a SQL query to pull back hardware inventory information and the SCCM client version, then you can use the below to pull all this information together. SELECT S.Name0 as Name, S.Client_Version0 as [Cient Version], OS.Caption0 as [Operating System], CS.Manufacturer0 as Manufacturer, CS.Model0 as Model, PB.SMBIOSBIOSVersion0 as BIOS, PR.Name0 as CPU, […]
SCCM Collection Query – Virtual Machines
![SCCM Collection Query - Virtual Machines 7 sccm logo](https://techygeekshome.info/wp-content/uploads/2016/02/sccm.jpg)
If you are looking for a SCCM collection query for virtual machines in your environment, then you can use this query below:
SCCM Collection based on Active Directory Organisation Unit (OU) Membership
![SCCM Collection based on Active Directory Organisation Unit (OU) Membership 8 sccm logo 600x400](https://techygeekshome.info/wp-content/uploads/2017/11/sccm-600x400.jpg)
You may want to create a Configuration Manager Collection based upon an Active Directory Organisation Unit. To do this you can use the following WQL code and then simply amend the last part to be the Organisation Unit that you want to base the Collection on: SELECT SMS_R_USER.ResourceID, SMS_R_USER.ResourceType, SMS_R_USER.Name, SMS_R_USER.UniqueUserName, SMS_R_USER.WindowsNTDomain FROM SMS_R_User WHERE […]