Tuesday, August 22, 2006

Useful Query - All machines that do NOT have specific file

Handy query that will show all machines that are missing a certain .exe file. Replace 'file.exe' with the filename of your choice:


select 
SMS_R_System.NetbiosName,
SMS_G_System_SoftwareFile.FileName
from
SMS_R_System
inner join SMS_G_System_SoftwareFile
on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId
where SMS_G_System_SoftwareFile.FileName = "file.exe"

1 Comments:

Anonymous Anonymous said...

I am doing a project on SMS deployment and package creation.

I have installed the server, I am facing problem with the client installation.

Please help me in this regard.


-Virasat

5:48 AM  

Post a Comment

<< Home