SQL Tip: The nodes() method (XML)

[edit: June 2019] This was originally posted to my internal (to Microsoft) blog on June 10, 2013 as part of a series I called 'SQL Tips' for coworkers and an email distribution list people could sign up to. I have left this as originally written but have updated formatting for my WordPress theme. Note: I … Continue reading SQL Tip: The nodes() method (XML)

Advertisements

SQL Tip: XML in SQL

[edit: April 2019] This was originally posted to my internal (to Microsoft) blog on May 29, 2013 as part of a series I called 'SQL Tips' for coworkers based on an email distribution list I sent out before the internal blog. I have left this as originally written but have updated formatting for my WordPress … Continue reading SQL Tip: XML in SQL

File Inventory via Configuration Items rather than Software Inventory

It's no secret that I'm not a fan of using Software Inventory (SWINV). So when I recently got a request to report on whether certain files existed on machines I decided to do something a little different. I was asked to find out if a list of 9 dlls existed within a specific folder on … Continue reading File Inventory via Configuration Items rather than Software Inventory

Finding the application of a given SCCM deployment via T-SQL

Recently a coworker was troubleshooting some application installation issues on a device. Looking through the "AppEnforce" log he found the deployment name and Id. As an example, here's what it would look like if you were troubleshooting the same log (I highlighted the deployment name yellow, and the deployment id green for reference): Although he … Continue reading Finding the application of a given SCCM deployment via T-SQL

How to see the Hardware Inventory classes and properties via T-SQL

Recently I was asked "Are you aware (do you have an example) of a way to extract data from the ConfigMgr database for hardware inventory rules and classes?" (That was in a comment of a blog I posted on my team's blog: https://blogs.technet.microsoft.com/system_center_in_action/2012/05/19/auditing-software-inventory-rules-in-system-center-2012-configuration-manager/. This post is in response to that comment. [edit: April 2019] That … Continue reading How to see the Hardware Inventory classes and properties via T-SQL