import module in function powershell code example Example: powershell import module import-module "pathTOfile.ps1" -force