Jump to content

FEATURE REQUEST : Patch Management


Jeremy Otten
 Share

Recommended Posts

Now.. i can see if updates need to be installed and give the install command.

What about automating this.. or even scheduling this.. even better...

When its a vmware environment.. schedule windows update install. But first automatically create snapshots of all systems and then install the windows updates.

Afterwards .. sent a notification that the maintenance is done.. we can then check if the updates did not break anything.. and with a simple one click remove all the created snapshots and maintenance would be done.

Link to comment
Share on other sites

  • Administrators

This could be done using the upcoming automation module. You can write a powershell script that can determine if it's a VM, create a snapshot using the vSphere PowerCLI and then schedule the windows update installation.

PowerCLI link: https://my.vmware.com/web/vmware/details?downloadGroup=PCLI550&productId=352

Get available windows updates from powershell:

$Searcher = New-Object -ComObject Microsoft.Update.Searcher
$Results = $Searcher.Search("Type='Software' and IsInstalled=0")
$Results.Updates

-Paul

Link to comment
Share on other sites

  • Administrators

The automation module will allow you to write scripts (Batch and PowerShell for Windows and Bash for Linux and Mac OS) and run them on demand. The schedule feature will come out in the following releases but yes, you will have to write the scripts yourself but this also comes with a greater management power. Did I mention that these scripts are centrally managed?

-Paul

Link to comment
Share on other sites

  • Administrators
27 minutes ago, Jeremy Otten said:

Centrally managed.. so can they be saved and re-used on other systems?

Yes. Even better, you just create a task with 3 scripts and have the task run on a system scope. If you add other systems in the future in a Group or Tag that is part of the system scope new systems will be automatically included in the task execution.

28 minutes ago, Jeremy Otten said:

Is there also a helping library with most common commands and/or scripts to use with examples?

We'll ship a couple of built-in scripts. Scripting has a very large community on the internet, I'll be impressed if there is something you're trying to do and there isn't a sample script somewhere on the internet already.

-Paul

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...