Book Image

Microsoft System Center 2012 Configuration Manager: Administration Cookbook

Book Image

Microsoft System Center 2012 Configuration Manager: Administration Cookbook

Overview of this book

Microsoft System Center 2012 Configuration Manager (CM12) is a systems management application for managing large groups of Windows-based computer systems. System Center 2012 Configuration Manager provides remote control, patch management, software distribution, operating system deployment, network access protection, and hardware and software inventory. This practical cookbook shows you how to administer System Center 2012 Configuration Manager and understand how to solve particular problems/scenarios Packed with over 50 task-based and immediately reusable recipes, this book starts by showing you how to design a System Center 2012 Configuration Manager Infrastructure. The book then dives into topics such as recommended SQL configuration for System Center 2012 Configuration Manager, deploying Windows 7 with Operating System Deployment (OSD), deploying Applications and Software Updates, managing Compliance Settings, managing Sites and managing Inventory amongst others.
Table of Contents (15 chapters)
Microsoft System Center 2012 Configuration Manager: Administration Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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 CM12'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...

  1. Open SSMS, enter the name of your...