import windows update using powershell

Boopathi S 3,581 Reputation points
2024-12-17T13:17:29.94+00:00

Hello Team

I am getting below message when importing an update. Please help how to fix this issue.

.\ImportUpdatesIntoWSUS.ps1 -UpdateId '8a1f44d8-850a-487f-8710-9f5a5dfbeab9'

Attempting WSUS Connection using Get-WsusServer... Connection Successful

Attempting WSUS update import for Update ID: 8a1f44d8-850a-487f-8710-9f5a5dfbeab9... C:\temp\MSData\ImportWSUS.ps1 : Failed. Exception calling "ImportUpdateFro

mCatalogSite" with "2" argument(s): "The underlying connection was closed: An

unexpected error occurred on a send."

At line:1 char:1

  • .\ImportUpdatesIntoWSUS.ps1 -UpdateId '8a1f44d8-850a-487f-8710-9f5a5dfbeab9'
  • 
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ImportUpdatesIntoWSUS.ps1
    
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,595 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Adam J. Marshall 9,681 Reputation points MVP
    2024-12-18T02:53:58.2266667+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.