1
votes

Window updates are always saying checking for updates and process is running without any update install. Hence, I am trying to install window updates using the Windows PowerShell button. However, I have found the error below when I used the following command in Powershell:

Import-Module PSWindowsUpdate

the specified module 'pswindowsupdate' was not loaded because no valid module file was found in any module directory

Can anyone help ?

1
Did you download the module and save it to here: %USERPROFILE%\Documents\WindowsPowerShell\Modules or here: %WINDIR%\System32\WindowsPowerShell\v1.0\ModulesZach Alexander

1 Answers

0
votes

Yes,

I have downloaded the "PSWindowupdate.zip" from here. https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc to %USERPROFILE%\Documents\WindowsPowerShell\Modules which fixed the issue.