fix #3908
fix #3908

Had to add Recurse to line 324, fixed an enumeration issue with hashtable modification then moved the logic to only process each file once

Splaxi/dbatools,wsmelton/dbatools,kozloski/dbatools,dsolodow/dbatools