Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches.json Generation #5

Open
chall32 opened this issue Dec 6, 2022 · 3 comments
Open

patches.json Generation #5

chall32 opened this issue Dec 6, 2022 · 3 comments

Comments

@chall32
Copy link

chall32 commented Dec 6, 2022

Hello,

How is patches.json generated?

Or is it obtained from VMware?

@karimhabush
Copy link
Owner

Hello,

patches.json is not being generated, it should be exported from VMWare ESXi official Patch Tracker.
You can find it here : https://esxi-patches.v-front.de/ESXi-7.0.0.html

However, it would be great if we could automate that as well!

Karim,

@chall32
Copy link
Author

chall32 commented Dec 9, 2022

Try this:

$BuildNumber = "20842708"
Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
$Image = Get-EsxImageProfile | Where Name -Like "*$BuildNumber-standard*"
$Image.VibList | Sort-Object | Select-Object Name,Version | ConvertTo-Json

Add-EsxSoftwareDepot and Get-EsxImageProfile are slow to get the data and complete (for me at least), so give them time to finish 😉

@karimhabush
Copy link
Owner

Works like a charm!!! That will be a great addition!😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants