WMI For the System Center Configuration manager 2007 Administrator System Center User Group Belgium.

Slides:



Advertisements
Similar presentations
What's a Proxy Printer Provider? PWG WIMS-CIM Working Group Rick Landau Dell, CTO Office 2008/08/08 v0.2.
Advertisements

Introduction to Systems Management Server 2003 Tyler S. Farmer Sr. Technology Specialist II Education Solutions Group Microsoft Corporation.
You’ve Got a Cloud- Familiar Tools to Manage IT Bob Hunt Sr. IT Pro Evangelist
What’s coming in Sccm 2007R2 aka Sccm 2007R2: 10 reasons to upgrade Kim Oppalfens SCUG.be.
Module 5: Creating and Configuring Group Policy
1 Secure Information Sharing Manager (SIS-M) Thesis 2007 Stephen D. Wise
4/17/2017 7:07 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Chapter 3: Configuring the Windows Vista Environment.
1 SMS_DEF.MOF Editing Basics Oren Zippori Professional Services Team Computers & Systems Israel System Management User Group.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
Maintaining and Updating Windows Server 2008
Hands-On Microsoft Windows Server Connecting Through Terminal Services Terminal server – Enables clients to run services and software applications.
A Tour of System Center Configuration Manager Adam Duffy Edina Public Schools.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Windows Remote Administration
Microsoft ® Application Virtualization 4.5 Infrastructure Planning and Design Series.
Printing Terminology. Requirements for Network Printing At least one computer to operate as the print server Sufficient RAM to process documents Sufficient.
Module 16: Software Maintenance Using Windows Server Update Services.
11 MAINTAINING THE OPERATING SYSTEM Chapter 5. Chapter 5: MAINTAINING THE OPERATING SYSTEM2 CHAPTER OVERVIEW  Understand the difference between service.
SOE and Application Delivery Gwenael Moreau, Abbotsleigh.
9.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
WMI Scripting. What Is WMI? WMI is the core management-enabling technology built into Windows 2000, Windows XP, and the Windows Server 2003 family of.
WINDOWS SERVICES. Introduction You often need programs that run continuously in the background Examples: – servers –Print spooler You often need.
Moderated by:Sponsored by: Episode 5: How to Use SCCM to Collect Microsoft SQL Server Editions, Oracle Applications and Many More e=cm 2 Rod Trent, CEO,
Conditions and Terms of Use
Module 7: Fundamentals of Administering Windows Server 2008.
70-411: Administering Windows Server 2012
REQUIREMENTS The Desktop Team Raphael Perez MVP: Enterprise Client Management, MCT RFL Systems Ltd
CN1276 Server Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Module 9: Preparing to Administer a Server. Overview Introduction to Administering a Server Configuring Remote Desktop to Administer a Server Managing.
Planning a Group Policy Management and Implementation Strategy Lesson 10.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
Module 5: Implementing Printing. Overview Introduction to Printing in the Windows Server 2003 Family Installing and Sharing Printers Managing Access to.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 11: Group Policy for Corporate Policy.
Module 5: Creating and Configuring Group Policies.
Module 4 Planning for Group Policy. Module Overview Planning Group Policy Application Planning Group Policy Processing Planning the Management of Group.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
Microsoft Management Seminar Series SMS 2003 Change Management.
Administering Group Policy Chapter Eleven. Exam Objectives in this Chapter  Plan a Group Policy strategy using Resultant Set of Policy Planning mode.
Module 8: Managing Software Distribution. Collections Packages Programs Advertisements Collections Packages Programs Advertisements How Software.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Company Confidential 1 A Course on Planning A Group Policy Management And Implementation Strategy Prepared for: *Stars* New Horizons Certified Professional.
Monitoring and Managing Server Performance. Server Monitoring To become familiar with the server’s performance – typical behavior Prevent problems before.
11 PLANNING A GROUP POLICY MANAGEMENT AND IMPLEMENTATION STRATEGY Chapter 10.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
Managing and Monitoring the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
11 IMPLEMENTING AND MANAGING SOFTWARE UPDATE SERVICES Chapter 7.
Service Pack 2 System Center Configuration Manager 2007.
Module 6 Creating and Configuring Group Policy. Module Overview Overview of Group Policy Configuring the Scope of Group Policy Objects Evaluating the.
Windows Management Instrumentation WMI Eran Spitz ( EDS-Israel.
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
BÄTTRE UTBILDNINGSRESULTAT. NÅ HÖGRE MED KUNSKAP.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Maintaining and Updating Windows Server 2008 Lesson 8.
Fixing Windows 10 Automatic Updates Install Problem
Reliability and Performance
Module 9: Preparing to Administer a Server
Troubleshooting Tools
System Center 2012 Configuration Manager
Printers.
Planning a Group Policy Management and Implementation Strategy
Lesson #7 MCTS Cert Guide Microsoft Windows 7, Configuring Chapter 7 Configuring Devices and Updates.
Unit 9 NT1330 Client-Server Networking II Date: 8/9/2016
Module 9: Preparing to Administer a Server
Module 1: Overview of Systems Management Server 2003
Presentation transcript:

WMI For the System Center Configuration manager 2007 Administrator System Center User Group Belgium

Agenda  Introduction  WMI basics  Troubleshoot WMI  Extended WQL (WMI query language)  WMI Tools  WMI in ConfigMgr  Advanced WMI in ConfigMgr  SccmAutoDoc  Q & A

Introduction What is WMI? ◦Wikipedia: “WMI is Microsoft's implementation of the Web-Based Enterprise Management (WBEM) and Common Information Model (CIM) standards from the Distributed Management Task Force (DMTF).MicrosoftWeb-Based Enterprise ManagementCommon Information ModelDistributed Management Task Force ◦SMS 2.0 MOC: “WMI does for management software what printer drivers did for printing” ◦Me: “ The registry on steroids.”

WMI basics (1) Namespaces Classes Methods Properties ◦Embedded properties  Props  Proplists  regmultistringlists ◦Lazy properties

WMI basics (2) Providers ◦regProv ◦regPropProv ◦Disk & CPU ◦View instance provider ◦AI Providers (aainstprov) ◦Write your own ( i-provider-to-list-the-monitors-serialnr-and-model-name.aspx) i-provider-to-list-the-monitors-serialnr-and-model-name.aspx Events ◦SELECT * FROM __InstanceModificationEvent WITHIN 10 WHERE TargetInstance ISA 'SMS_Collection' Qualifiers ◦Dynamic ◦CimType

Troubleshoot WMI Wmidiag Repair ◦XP SP2+  rundll32 wbemupgd, UpgradeRepository ◦Vista and above (Needs to be Run as administrator)  winmgmt /salvagerepository ◦Windows server 2003  rundll32 wbemupgd, RepairWMISetup Re-register wmi components ◦cd /d %windir%\system32\wbem ◦for %i in (*.dll) do RegSvr32 -s %i ◦for %i in (*.exe) do %i /RegServer Rebuild repository as a last resort (Might kill other applications) ◦Net stop winmgmt ◦Ren %windir%\System32\Wbem\Repository %windir%\System32\Wbem\Repository_Bad ◦Net start winmgmt

Extended WQL Extended Wql ( ) ◦Select x from class ◦Other keywords  Distinct, count, join, where, order by  In / not in  GetDate, datediff, dateadd SELECT DISTINCT SMS_MonthlyUsageSummary.ResourceID FROM SMS_MonthlyUsageSummary INNER JOIN SMS_MeteredFiles ON SMS_MonthlyUsageSummary.FileID = SMS_MeteredFile.MeteredFileID WHERE DateDiff(day,SMS_MonthlyUsageSummary.LastUsage, GetDate()) < 90 AND SMS_MeteredFiles.RuleID = 6

WMI Tools Wbemtest Cim studio Wmic ◦ to-the-configmgr-2007-admin-console-1.aspxhttp://scug.be/blogs/sccm/archive/2009/09/15/adding-wmic-right-click-actions- to-the-configmgr-2007-admin-console-1.aspx Policyspy Script SDK ◦ AD-E3AF6218EDCC&displaylang=enhttp:// AD-E3AF6218EDCC&displaylang=en

WMI in ConfigMgr (1) Omni-Present ◦SMS Provider / Administrator console ◦Dynamic Collections ◦Queries ◦Hardware inventory ◦ConfigMgr client settings store

WMI in ConfigMgr (2) Namespaces used by Sccm ◦Server side  Root\sms (sms_providerlocation)  Root\sms\site_sitecode ◦Client side  Root\ccm  Root\ccm\invagt  Root\ccm\policy Sccm wmi Class structure ◦Abstract classes (Require sitecode='xyz')  Sms_sci  Sms_siib ◦Sms_r* ◦Sms_g* ◦Sms_cm_res_coll_collid

Advanced WMI in Configuratio Manager Local Policies ◦ us/magazine/ customizesms.aspxhttp://technet.microsoft.com/en- us/magazine/ customizesms.aspx ◦Examples  Request permission for Remote Tools  Custom Hardware Inventory  Disable individual agents [CCM_Policy_PartialPolicy(true)] instance of CCM_SoftwareDistributionClientConfig {SiteSettingsKey = 1; PolicySource = "Local"; // override only this property, all others from the Site/Management Point [CCM_Policy_Override(true)] Enabled = FALSE;};

SccmAutoDoc What is SccmAutodoc? 1.My source for getting to know WMI in ConfigMgr 2.A program that, based on WMI queries automatically documents your site settings Where can I get SccmAutodoc? ◦SccmAutodoc is currently in beta and can be downloaded from Is SccmAutodoc freeware? ◦SccmAutodoc will become moderately priced software once it leaves the beta stages, hopefully somewhere near the end of this year.

Q & A

Thank You SCUG.be !