import powershell script as module code example Example: powershell import module import-module "pathTOfile.ps1" -force