none
Windows Update om Specified Intranet using powershell command.

    Question

  • We are using SCCM for updates and I am building the automation to build the server. the SCCM takes almost 15 minutes to connect to it even if it is configured so I need to use the Internal Update URL to do windows updates. Suppose I have the URL as http://xxx.5454. How can I use Powershell Windows update to get the updates from URL instead of going out the server or over Internet.

    Friday, April 29, 2016 7:55 PM

Answers

  • Hi,

    You could configure the setting Specify intranet Microsoft update service location in GPO to achieve your goal.

    The path of the setting: Computer Configuration\Administrative Templates\Windows Components\Windows Update\Specify Intranet Microsoft update service location

    For more information, you could refer to the article below.

    Configure Clients Using Group Policy

    https://technet.microsoft.com/en-us/library/cc708574(v=ws.10).aspx

    In addition, if you want to use PowerShell to install Windows Updates, you could refer to the script below.

    Install Microsoft Updates using Powershell

    https://gallery.technet.microsoft.com/scriptcenter/Install-Updates-using-740784eb

    Best Regards,

    Jay


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, May 02, 2016 1:24 PM
    Moderator

All replies

  • Correct me if I'm wrong: you try to update your OSD-system during deployment giving it Internet for WSUS. you could use "schedule updates" action in Software library - Operating systems link.
    Friday, April 29, 2016 10:33 PM
  • Actually I want to update the windows updates immediately through the intranet link using powershell instead of configuring for schedule update. Is there a way I can do that using for example Get-WUInstall and a property of Intranet link to pass to it to download the updates from intranet.
    Monday, May 02, 2016 12:56 PM
  • Hi,

    You could configure the setting Specify intranet Microsoft update service location in GPO to achieve your goal.

    The path of the setting: Computer Configuration\Administrative Templates\Windows Components\Windows Update\Specify Intranet Microsoft update service location

    For more information, you could refer to the article below.

    Configure Clients Using Group Policy

    https://technet.microsoft.com/en-us/library/cc708574(v=ws.10).aspx

    In addition, if you want to use PowerShell to install Windows Updates, you could refer to the script below.

    Install Microsoft Updates using Powershell

    https://gallery.technet.microsoft.com/scriptcenter/Install-Updates-using-740784eb

    Best Regards,

    Jay


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, May 02, 2016 1:24 PM
    Moderator