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)

The InventoryLog Report

A year ago I blogged on the "InventoryLog" table and how it can be used to help troubleshoot hardware inventory issues. I also got a comment asking about how I wrote the query/report I showed in that post. I was reminded today about that comment and figured I should post something...a year later is better … Continue reading The InventoryLog Report

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

Troubleshooting/Monitoring Hardware Inventory with the InventoryLog

One of the coolest ‘features’ of inventory is the fact that it logs information to the database when it processes the files. Granted, I’m biased on this opinion because I helped make it happen. Unfortunately, I haven’t seen anyone talk about it yet so it’s either not as cool as I thought or people don’t … Continue reading Troubleshooting/Monitoring Hardware Inventory with the InventoryLog