Skip to content

Instantly share code, notes, and snippets.

@morgansimonsen
Created December 19, 2013 14:31
Show Gist options
  • Save morgansimonsen/8039966 to your computer and use it in GitHub Desktop.
Save morgansimonsen/8039966 to your computer and use it in GitHub Desktop.
Opt in to Microsoft Update with PowerShell
$mu = New-Object -ComObject Microsoft.Update.ServiceManager -Strict
$mu.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment