Powershell script to find files recursively and export to CSV
The following script takes 3 input’s the directory to start searching from, the file extesion we are searching for (eg. .xml) and the file name to output the results as CSV to. If a result file isn’t supplied then the results are dumped to the screen. The most interesting part of this script is this @{Name=”MB”;expression={“{0:N2}” -f ($_.LengthRead more about Powershell script to find files recursively and export to CSV[…]