Changed out-file to Set-Content
Added time generated output
Changed Out-File to Set-Content
Added time taken to generate file output