JDS300
Posts: 67
Score: 0 Joined: 8/16/2006 Status: offline
|
Looking to create a report to find all PST files on our machines so we can get an estimate size of all of the PST files in the organization. We already have a count from our servers, so I need to limit this to workstations (Windows XP) only. Here is the SQL for the report that shows me PST files on anything with the SMS Client. How do I change it to only show Windows XP machines?
select SYS.User_Name0 as 'Last Logon User', SYS.Netbios_Name0,
SF.FileName, SF.FileSize, SF.FileModifiedDate, SF.FilePath
From v_GS_SoftwareFile SF
join v_R_System SYS on SYS.ResourceID = SF.ResourceID
Where SF.FileName LIKE '%.pst'
ORDER BY SF.FileSize DESC
Thanks!!
|