Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft System Center Configuration Manager Cookbook

You're reading from   Microsoft System Center Configuration Manager Cookbook Over 60 applicable recipes to administer and manage System Center Configuration Manager Current Branch

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher
ISBN-13 9781785881206
Length 354 pages
Edition 2nd Edition
Arrow right icon
Authors (5):
Arrow left icon
Samir Hammoudi Samir Hammoudi
Author Profile Icon Samir Hammoudi
Samir Hammoudi
Brian Mason Brian Mason
Author Profile Icon Brian Mason
Brian Mason
Greg Ramsey Greg Ramsey
Author Profile Icon Greg Ramsey
Greg Ramsey
Chuluunsuren Damdinsuren Chuluunsuren Damdinsuren
Author Profile Icon Chuluunsuren Damdinsuren
Chuluunsuren Damdinsuren
Matthew Hudson Matthew Hudson
Author Profile Icon Matthew Hudson
Matthew Hudson
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Designing a System Center Configuration Manager Infrastructure FREE CHAPTER 2. Deploying Windows 10 with Operating System Deployment 3. Deploying Applications and Software Updates 4. Managing Compliance Settings 5. Managing Mobile Devices using Configuration Manager with Microsoft Intune 6. Managing Sites 7. Managing Clients 8. Managing Inventory 9. Managing Reports and Queries

Building queries

Seasoned CM admins should already understand the difference between SQL and WMI queries and how to write a subselect query. If you do, you should be able to skip ahead with just this one reminder-with CM's ability to use exclude or include in a collection query, you won't have to make subselect queries as often.

Now for all of the rest of you, we're going to show you how to make a query to show all machines which have Office installed. Then we'll show how to find all machines which don't have Office 2010 installed (and for that we need a subselect). We'll do this first in SQL and then again in WMI. SQL is for reports where WMI is more commonly used for CM console queries and collections.

Getting ready

You will need access to any machine with Microsoft SQL Server Management Studio (SSMS) installed. You will need SQL access to your primary site or CAS.

We're going to make a query to find all machines with Office 2010 installed.

How to do it....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime