System Center

SCCM – Report on Outlook Archive PST files on Devices

Last updated on April 16th, 2023 at 11:29 pm

Read Time:2 Minute, 2 Second

If you want to report on machines that have Outlook archive (PST’s) on them, where they are and how big they are, then you can use this guide to create a report that will do this for you using Configuration Manager.

First of all, you will need to tell your Software Inventory to look for PST files on machines. To do this, go into your Configuration Manager Console and browse to Administration > Client Settings and then edit your Device Settings for where you want to collect the PST information from.

When you are in the edit screen for your machine settings, on the left hand side, select Software Inventory:

SCCM - Report on Outlook Archive PST files on Devices 5

Then on the right side, click the Set Types button next to the Inventory these file types option:

SCCM - Report on Outlook Archive PST files on Devices 6
You should then click on the add button and add the following:


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   
      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  
      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.


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.

Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 23 years. Sharing experience and knowledge whenever possible! Making IT Happen.
Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 4,420 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

Follow Us


Join 4,420 other subscribers.



Top Downloads