Uploading reports (.csv) to a SharePoint site.

This is something that I run into very often.  Administrators running scripts that provide insight into their SharePoint environment.These scripts often generate a report of some format; and they also want them uploaded to a document library; to finish off the automation process. Below is a Cmdlet/ function that I always suggest customers add in just…