Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»SCCM 2007»SCCM report to inventory file types like pst,ost,SFT etc

    SCCM report to inventory file types like pst,ost,SFT etc

    Eswar KonetiBy Eswar KonetiMay 02, 3:51 pm2 Mins Read SCCM 2007 14,708 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Are you looking for report to have details about pst,pdf or any other files to see where they are and when are they last modified ?

    first Identify what inventory files do you need want report on and then enable file inventory in software inventory agent with folder location to search for.

    go to site hierarchy--->site settings—>client agents—software inventory client agent and add the file name into inventory collection tab.

    provide the sufficient information file name,location and if you search subdirectories as well.

    image

    Once this is done,make sure all the healthy SMS/SCCM clients passed software inventory client agent and sent its info to site server.

    You can use the below report to identify how many/what computers not scanned software inventory client agent in 5 days.

    select distinct a.netbios_name0,b.UserName0,c.LastScanDate as 'Last software scan' from v_R_System  a
    inner join v_GS_COMPUTER_SYSTEM b ON
    a.ResourceID=b.ResourceID
    inner join V_GS_Lastsoftwarescan c ON
    c.ResourceID=a.ResourceID
    where (DATEDIFF (dd,c.LastScanDate,GETDATE ()) > 5)
    order by a.netbios_name0

    now you have report on computers which are not sent their updated sinv information to site server.Good luck in troubleshooting .

    you may refer inventoryagemt.log for troubleshooting.

    Now you are ready to create SMS/SCCM report to list the file information,modified date ,path et information.

    select distinct Sys.Name0,SF.FileName,SF.ModifiedDate as 'LastModified Date' ,SF.Filepath, SF.FileSize/1024 as Megs
    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 '%'+'.STF' and CollectionID=@COLLID and

    SF.Filepath like 'C:\documents and settings\%'
    Order by SF.FileName

    Where SFT can be changed to the required file it if is specified in software inventory client agent.

    Prompt for COLLID:

    select  CollectionID,Name from v_Collection

    Configmgr 2007 configmgr report File Type inventories inventory OST SCCM 2007 SCCM Reports SFT software inventory SQL.PST
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Monitoring Endpoint Security Applications with SCCM ConfigMgr SQL

    October 11, 8:48 pm

    Distinguishing Desktops and Laptops in Intune based on Chassis Type

    July 11, 9:25 pm

    SCCM report list collections with no deployments

    December 05, 12:04 pm

    5 Comments

    1. Pingback: Ost To Pst Command Line - ORG.org

    2. Chuck Ireton on November 29, 2012 10:46 PM

      Tremendous information here. I translated it to look for AVI files. Thanks so much.

      Reply
      • Eswar Koneti on November 30, 2012 7:55 AM

        Glad you made it with custom requirements.

        Reply
    3. DL on August 25, 2012 2:28 AM

      Hey,

      I'm trying to use this method to track modified dates for a .dat file (the goal being to report on antivirus definition modified date). But when I paste the report into the SQL statement portion of my newly created report I get an error, "Incorrect syntax near '''" Any thoughts as to what I'm doing wrong? This happens with both a direct cut and paste from your blog and from copy edited to match my file type and location.

      Reply
      • Eswar Koneti on August 25, 2012 6:38 AM

        Hi,
        Blog convert the quotes to fancy. can you please replace the quotes again in the query and try ? that should work

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.