Jump to content

Recommended Posts

  • Administrators
Posted

Hi Christian,

I don't see why it wouldn't work. For that particular script is a little annoying as it relies on a module that you will have to embed in each script that you want to use that module. You could tinker with it a little to extract just the functions that you need if you got the time.

-Paul

  • 2 months later...
Posted

You should be good to go with putting: 

For Autoreboot:

Get-WUInstall MicrosoftUpdate AcceptAll AutoReboot

Without Autoreboot:

Get-WUInstall –MicrosoftUpdate –AcceptAll

Knowing that you have the PSWindowsUpdate Installed of course.

And also make sure your client have at least Powershell 5.1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...