➥ How to update ESXI 6.5 to ESXi-6.5.0-20170104001-standard via ssh/terminal

How to update ESXI 6.5 to ESXi-6.5.0-20170104001-standard via ssh/terminal

1. Enable http
esxcli network firewall ruleset set -e true -r httpClient

2. Check wich is the latest version
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6

3. Update :D
esxcli software profile update -p ESXi-6.5.0-20170104001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

4. Oh.. don't forget to reboot