Symptoms

PowerShell scripts run by the adTempus scripting host fail because external modules cannot be loaded

More Information

Scripts may fail with one of the following errors:

The term '[command name]' is not recognized as the name of a cmdlet, function, script file, or operable program

The specified module '[module name]' was not loaded because no valid module file was found in any module directory.

Cause

The adTempus PowerShell script host is setting the PSModulePath environment variable incorrectly, resulting in PowerShell being unable to locate some modules.

Status

  • adTempus 5
    A fix for this problem is available in the latest hotfix release for the software. Hotfix information.