Error when loading

Feb 10, 2012 at 8:34 PM

The module is in the right directory but i'm still getting this error any help?

 

Import-Module : The specified module 'PoshWSUS' was not loaded because no
valid module file was found in any module directory.

Feb 10, 2012 at 9:23 PM

Well I think I need to install powershell and run this code from the WSUS server.

Feb 10, 2012 at 9:31 PM

New error

Import-Module : The assembly 'Microsoft.UpdateServices.Administration' was not
loaded because no assembly was found. Please check the assembly name and try
again.

Feb 14, 2012 at 7:55 PM

I got the same error. I was able to import the module by changing the working directory to where I had the module files before giving the import-module command. i.e.

cd \users\username\documents\windowspowershell\modules\poshwsus

import-module poshwsus.psm1

 

Hope that helps!