How to interface with "File History" in Windows 10?

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Daniel Krebs Daniel Krebs 1 year, 2 months ago.

  • Author
  • #28892
    Profile photo of Mark Tiede
    Mark Tiede

    I'm a programmer. I have a Visual Studio Solution with 54 projects. Every time I recompile, new compile files are generated and go into the File History.

    Is there a powershell script way to EXCLUDE folders from File History so that I don't have to do them in the File History dialog, one at a time for 100 times to get all the compile folders I DON'T want in the history.

  • #28894
    Profile photo of Daniel Krebs
    Daniel Krebs

    Hi Mark,

    The File History API is not available directly via a set of PowerShell cmdlets or a .Net Framework class.

    To make the File History API available to PowerShell you will need to create a wrapper class for the C++ methods.


You must be logged in to reply to this topic.