SCCM SQL Query–Patch Supersedence Report

I wanted a way to input a patch KB article and find out if the patch superseded another patch or was superseded by another. For parameters I used the ArticleID field aka the KBNumber. select cir.FromCIID [New CI], info.BulletinID [New BulletinID], info.ArticleID [New ArticleID], info.Title [New Title], info.InfoURL [New InfoURL], info.DatePosted [New DatePosted], cir.ToCIID [SUPERSEDED CI], info2.BulletinID [Superseded BulletinID], info2.ArticleID...

Read More»

SQL Query to Enumerate USB drives by Domain

–Enumerate USB Drives– select sys.Name0 [System Name], sys.Resource_Domain_or_Workgr0 [Domain], sys.Operating_System_Name_and0 [O/S], disk.Description0 [Description], disk.InterfaceType0 [Bus Type], disk.Model0 [Model], disk.Name0 [USB Drive Name], disk.Size0 [Size], disk.DeviceID0 [DeviceID] from v_R_System sys join v_GS_DISK disk on sys.ResourceID = disk.ResourceID where InterfaceType0 = ‘USB’ and Resource_Domain_or_Workgr0 IN (‘@Domain’) order by Resource_Domain_or_Workgr0,sys.Operating_System_Name_and0,sys.Name0

Read More»

What to do if your server won’t print

Ran into an issue last night that I had never seen before. One of our Citrix servers simply stopped printing. If you have worked with Citrix for any length of time you know that printing is one of the big pain points but in this case it actually was not a Citrix problem. This server would not print to local...

Read More»