Closed StarMusa88 closed 2 months ago
Your problem will be impossible for anyone to help with if you do not share the error message you are getting.
get-windowsupdate -install -acceptall Get-WindowsUpdate: Something goes wrong: Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.415.40.0) - Current Channel (Broad); Object reference not set to an instance of an object. Get-WindowsUpdate: Something goes wrong: Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.415.40.0) - Current Channel (Broad); Object reference not set to an instance of an object.
X ComputerName Result KB Size Title
You are not alone with this error. There are other people seeing it and with a range of updates. See: https://github.com/mgajda83/PSWindowsUpdate/issues/21
@StarMusa88 I'd recommend you update to the last version of PSWindowsUpdate. I installed v2.2.1.5 that just came out and every machine that previously had the "Object reference not set to an instance of an object" now works just fine.
https://github.com/callworthp yes I will definitely try that thanks!
Keep getting error message when trying to use "get-windowsupdate -acceptall -install "