viernes, 16 de junio de 2017

Power CLI: Depot + Patch




Creating a custom ISO using PowerCLI


Hello Guys!!!

In this post I'm going to show you how to create a custom ISO using PowerCLI, so what happens if a virus like wannacry is for VMware (I'm not joking jeje).  So VMware Admins need to create a custom iso for esxi that includes the VMware Path, so you can find anything patch from this page:

https://my.vmware.com/group/vmware/patch#search

So you need to download this files to your Windows Machine (I'm not sure that PowerCli Core for MAC Users is possible to do this custom iso).

Let's Start!!!

The first step is create a Folder (If is neccesary)

In my case I created one folder with one subfolder named patches, you can sort it like you want.






After that you need to use this command in PowerCLI

 Add-EsxSoftwareDepot 
D:\Depot\PATCHES\ESXi650-201703001.zip




You can use this command for checking the patch:



Then you need to include the patch in the ISO File...



So after that you can use that iso for patch your ESXi environment.. so I recommend to use Update Manager...


Thanks for visiting my blog!!

Share and be sociable!!!



No hay comentarios:

Publicar un comentario

Installing Kubernetes on RHEL 9

  Hello Guys, In this post I will show you how to install a Kubernetes cluster on RHEL8. Let's Start: Disablle Swapp: sudo swapoff -a Co...