Advertisement
Guest User

Untitled

a guest
Oct 31st, 2023
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Set-ExecutionPolicy Unrestricted;
  2. Import-Module PSWindowsUpdate -Force;
  3. ##Get-WindowsUpdate -UpdateType Driver -AcceptAll -Install -Verbose;
  4. Get-WindowsUpdate -UpdateType Driver -AcceptAll -AutoReboot -Install -Verbose;
  5. ## It'll probably error if done remote via ps-entersession so use usoclient startinteractivescan for kick start it
  6. usoclient startinteractivescan;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement