*.pst
You can set your own location settings depending on your own environment.
Once you have done this, you can move onto creating the report using SSRS, however, please remember that you will not see any information in your report until your clients have got the new client settings policy that you have just amended and reported back to your management point to populate your Configuration Manager database. How quickly this happens depends on the frequency that you have your Software Inventory setup as.
Moving onto the report, the query script that you should use is below:
select distinct
Sys.Name0,
SF.FileName AS [Filename],
SF.ModifiedDate AS [Last Modified Date],
SF.Filepath AS [Local Filepath],
SF.FileSize/1024 as [Size (MB)],
SF.FileSize/1024000000 as [Size (GB)]
from v_R_System Sys
INNER JOIN v_GS_SoftwareFile SF on
Sys.ResourceID = SF.ResourceID
INNER JOIN v_FullCollectionMembership FCM on
FCM.ResourceID=sys.ResourceID
where SF.FileName like '%'+'.pst'
Order by SF.FileName
Once you have created your report and added the Software Inventory to search for PST files, you should start to see data pouring into your report giving you all the information you require about PST files on users devices!
More Queries
Our full range of SQL and WQL Collection queries are available here.Feedback
If you have any questions or feedback about this post, or if you would like us to create any queries for you, please go ahead and leave us a message below in the comments section and we will get back to you as quick as we can.Gear We Recommend
Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.
Browse our Windows Admin Toolkit picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.