I'd like to keep the device drivers updated in the repository of VUM. Doing this manually is a pain but there is no commandlet to import the patches to the repository. I have a directory with all the zip files sitting in it, how can I script this to get them into the repository?
Any ideas welcome.
I'm talking about the drivers e.g. listed on the VMware download page as iso(!) files or the drivers provided in the vibsdepot by hp. There is no url you can add into the download config of VUM and therefore you can't use the Download-Patch commandlet. In the GUI, you have to go to the Patch Repository, then click on "Import Patches" and then go through the dialogues. Of curse you have to unpack the pathes first form the iso files or zip archives, but that part can be done by script, I have this already in place to use these patches in a custom installation iso. Now I want to upload these patches in the VUM repository and build a baseline form this. As there is no commandlet, perhaps there is a way to use the API, but I'm not that deep into programming so I could figure aout how to do this...
I see what you mean.
Unfortunately there is no equivalent cmdlet in the current release of the snapin I'm afraid.
And the Update Manager API are private afaik, so calling the API method directly is no option either.
So I'm afraid this is a nogo for now.
thanx for your help, very appreciated! This is a pain in the a.... Im working on a project in a larger environment where releasemanagemnet shall be implemented and the guideline will be the HP support recipe which contains, among others, firmware and drivers. I'd like to automate the process as far as possible and VUM is a major compionent. But this is a missing link in the in the whole process.
I understand your frustration. I also would like to see an improved Update Manager snapin and access to the VUM API.
You can apply ESXi patches through the HostPatchManager, but on the Update Manager side there isn't anything you can do programatorically, besides the current VUM snapin.
There is any powercli script which can,
1. Get the host in maint mode
2. move that to a isolated to cluster.
3.scan the "patches & extension"
4. If any new patches, remidiate
5. Get the host out of maint mode
6. move it back to original cluster
7. Then run drs manually on that cluster.
Ie a typical patching process...