Get-Windowsupdate-log fails

K

Kalimanne

Whenever I try to run get-windowsupdatelog in PowerShell on this Server 2016 1493.2125 system it fails with the error:

PS C:\Windows\system32> Get-WindowsUpdateLog
Copy-Item : Cannot find path 'C:\Program Files\Windows Defender\SymSrv.dll' because it does not exist.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\WindowsUpdate\WindowsUpdateLog.psm1:56 char:5
+ Copy-Item -Path $SYMSRV_DLL_PATH -Destination $WORKDIR -Force -Er ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Program File...nder\SymSrv.dll:String) [Copy-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand


The only mention of this is was a suggestion to not run the 32-bit version of PowerShell. I am not doing that, so that is not the solution in this case.

How can I find a solution?

Continue reading...
 
Back
Top Bottom