One of the features of Window PowerShell is modules. Introduced in version 2, modules allows you to group like functions together that make your code modular, easily transportable and shareable.
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 ...