microsoft / MSLab

Azure Stack HCI, Windows 10 and Windows Server rapid lab deployment scripts
MIT License
1.18k stars 285 forks source link

Install latest CU for existing VMs / Images in WSLab #430

Closed DenBir closed 3 years ago

DenBir commented 3 years ago

Hi, great tool!

I use WSLab for several environments but the images and VMs have always the patch status for the initial phase.

It is possible to update all existing VMs / Images in the WSLab environment? I find only the script to download the latest CU and install this in the initial phase (create image) on step 2.

Possible Solution: Create a further script to update the images and / or the associated VMs.

jaromirk commented 3 years ago

Yup, I was thinking the same. I'll do it :). Should be relatively easy.

jaromirk commented 3 years ago

I added this script https://github.com/microsoft/WSLab/blob/dev/Tools/PatchParentDisks.ps1 ... it will be downloaded with 1_prereqs.ps1. Please give it a try! As usual, right-click and run with powershell...

jaromirk commented 3 years ago

Tested, works :). Closing.

DenBir commented 3 years ago

Great! Thanks!

jaromirk commented 3 years ago

You're welcome. Let me know how it works!