{"id":4491,"date":"2009-01-31T13:22:52","date_gmt":"2009-01-31T13:22:52","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2009\/01\/31\/managing-windows-update-from-powershell\/"},"modified":"2019-02-18T13:12:49","modified_gmt":"2019-02-18T20:12:49","slug":"managing-windows-update-from-powershell","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/managing-windows-update-from-powershell\/","title":{"rendered":"Managing Windows Update From PowerShell"},"content":{"rendered":"<p>James O\u2019Neil just posted how to <a href=\"http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/01\/27\/managing-windows-update-with-powershell.aspx\">manage Windows Update with Windows PowerShell<\/a><\/p>\n<p>Here\u2019s a quick sample of what he can do:<\/p>\n<p><em>Add-WindowsUpdate \u2013Auto<\/em> to download updates and reboot if needed,     <br \/><em>Set-WindowsUpdateConfig \u2013n 4 \u2013i <\/em>to schedule updates (Including the merely recommended)&#160; and     <br \/><em>Get-WindowsUpdateConfig<\/em><\/p>\n<p>Check it out:<\/p>\n<p><a title=\"http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/01\/27\/managing-windows-update-with-powershell.aspx\" href=\"http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/01\/27\/managing-windows-update-with-powershell.aspx\">http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/01\/27\/managing-windows-update-with-powershell.aspx<\/a><\/p>\n<p>Hope this Helps,<\/p>\n<p>James Brundage [MSFT]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>James O\u2019Neil just posted how to manage Windows Update with Windows PowerShell Here\u2019s a quick sample of what he can do: Add-WindowsUpdate \u2013Auto to download updates and reboot if needed, Set-WindowsUpdateConfig \u2013n 4 \u2013i to schedule updates (Including the merely recommended)&#160; and Get-WindowsUpdateConfig Check it out: http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/01\/27\/managing-windows-update-with-powershell.aspx Hope this Helps, James Brundage [MSFT]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[353],"class_list":["post-4491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-windows-update"],"acf":[],"blog_post_summary":"<p>James O\u2019Neil just posted how to manage Windows Update with Windows PowerShell Here\u2019s a quick sample of what he can do: Add-WindowsUpdate \u2013Auto to download updates and reboot if needed, Set-WindowsUpdateConfig \u2013n 4 \u2013i to schedule updates (Including the merely recommended)&#160; and Get-WindowsUpdateConfig Check it out: http:\/\/blogs.technet.com\/jamesone\/archive\/2009\/01\/27\/managing-windows-update-with-powershell.aspx Hope this Helps, James Brundage [MSFT]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/4491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=4491"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/4491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=4491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=4491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=4491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}