Import-Module : The specified module ‘OfficeWebApps’ was not loaded because no valid module file was found in any module directory.

Import-Module : The specified module ‘OfficeWebApps’ was not loaded because no valid module file was found in any module directory.

2020/08/16 SharePoint 0

This will fix the problem:

$p=$Env:PSModulePath
$p+=";C:\Program Files\Microsoft Office Web Apps\AdminModule"
[Environment]::SetEnvironmentVariable("PSModulePath",$p)
Import-Module OfficeWebApps

Leave a Reply

Your email address will not be published.