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

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.

Hi Mark,

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

https://msdn.microsoft.com/en-us/library/hh829807(v=vs.85).aspx

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

Best,
Daniel