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

SQL Tip: APPLY

[edit: April 2019] This was originally posted to my internal (to Microsoft) blog on May 14, 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 the my WordPress theme (and … Continue reading SQL Tip: APPLY

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