PowerShell – Modules

Modules are a group of functions that can be loaded into the PowerShell session. They are .psm1 files that must be placed in the following locations:

User Specific
C:\Users\Username\WindowsPowerShell\Modules\ModuleName\ModuleName.psm1

Machine Specific
C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ModuleName\ModuleName.psm1

These need to be loaded into the PowerShell console session by using the following command:
Import-Module ModuleName

Note: This can be added to the PowerShell profile to load each time the console opens