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
    This issue has been corrected and the fix will be included in the next maintenance update or software release. Customers affected by the problem may contact us to obtain the fix now.