1. Open a powershell prompt as admin.
  2. Change directory to the location of the *.psm1 file.
  3. Type the following:

Import-Module “.\This-is-a-powershell-module.psm1”

 

  1. Based on the module instruction you should now have the module now integrated into powershell.