Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set-ExecutionPolicy Unrestricted;
- Import-Module PSWindowsUpdate -Force;
- ##Get-WindowsUpdate -UpdateType Driver -AcceptAll -Install -Verbose;
- Get-WindowsUpdate -UpdateType Driver -AcceptAll -AutoReboot -Install -Verbose;
- ## It'll probably error if done remote via ps-entersession so use usoclient startinteractivescan for kick start it
- usoclient startinteractivescan;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement