If you're still writing custom PowerShell scripts for basic file transfers and Excel reports, you're working too hard. Ready-made PowerShell modules handle most common tasks better than anything ...
Business.com on MSN

Understanding functions in PowerShell

Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.