Windows 10 Remote Update Start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    Windows 10 Remote Update Start

    I need to execute updates on remote windows 10 systems.

    These systems may not be configured for auto-update, so the command cannot assume default behaviour.

    Is there a simple command or script that I can use?

    This is a new area to me, so please forgive my amateurish question.
  • Brilstern
    New Member
    • Dec 2011
    • 208

    #2
    Oralloy,

    Looping the code I used in your other post should be what you are looking for.

    Code:
    $a = Get-Content "C:file_location\computers.txt"
    foreach ($i in $a)
    	{(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow() -computername $i}

    Comment

    Working...