VMware Cloud Community
Sauce
Contributor
Contributor

Update Manager Reporting\Exporting info capabilities?

Is there a way to export or create a report of installed patches and\or missing patches. I am looking for a reporting tool for documentation purposes for patch management and change management purposes. Does anyone know of how to do this or what third party products can do this?

Tags (1)
0 Kudos
8 Replies
Texiwill
Leadership
Leadership

Hello,

esxupdate -q from the CLI will show the installed patches. You can get a list of patches out of VUM. But I do not know an automated way to do a report.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
Craig_Baltzer
Expert
Expert

If you have Powershell (www.microsoft.com/powershell), the VI Toolkit for Windows (www.vmware.com/go/powershell) and the Update Manager PowerShell library (you get prompted to install it when you install the Update Manager client if it finds the VI Toolkit during installation) then a little script might work. This will prompt to connect to your VirtualCenter server, find all the ESX hosts, spin through each of the Update Manager baselines applied and then spit out a report of what is installed, not installed, unknown and not applicable. Its not pretty but gives you the framework and the rest is just putting a little "lipstick on the pig" to make it pretty.

connect-viserver

foreach($vmhost in (get-vmhost)) {

foreach($baseline in get-compliance -Entity $vmhost) {

"`n`n----


"

$baseline.Entity.Name + " - " + $baseline.Baseline.Name

"----


"

"`n*** Compliant Updates ***`n"

$baseline.CompliantUpdates

"`n*** Not Compliant Updates ***`n"

$baseline.NotCompliantUpdates

"`n*** Unknown Updates ***`n"

$baseline.UnknownUpdates

"`n*** Not Applicable Updates ***`n"

$baseline.NotApplicableUpdates

}

}

0 Kudos
Sauce
Contributor
Contributor

Is there anyway to export the list of all available patches from the Update Manager plugin in the Update Repository tab? This is the view I am looking for to export from. I was hoping there would be the "export list" option available in this view under the file menu, but unfortunately it is grayed out.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Moved to VirtualCenter 2.x forum.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
bleibold
Contributor
Contributor

Craig,

I found this thread and attempted to run the script, but I get some strange errors:

Get-Compliance : Method 'get_ConnectionId' in type 'VMware.VumAutomation.Client

15.VumClient' from assembly 'VMware.VumAutomation.Client15, Version=1.0.0.63972

, Culture=neutral, PublicKeyToken=null' does not have an implementation.

At line:1 char:16

Any idea why?

Thanks,

Bob

0 Kudos
bleibold
Contributor
Contributor

Turns out the 1.5 VIToolKit is not compatible with the Update Manager cmdlets. I've backed of to the 10 VIToolKit and it works fine.

Bob

0 Kudos
benutzername
Contributor
Contributor

Hi, I just found that great thread.

I also need a list that contains all installed updates of each ESX Host. I have vCenter Server 2.5 U5 and ESX 3.5 hosts.

I installed

.Net Framework

Microsoft Powershell

VMware vSphere PowerCLI

I cann connect to the vCenter Server, but after successfull connection he does not know the command: get-compliance ( The term "get-compliance" is not recognized as a cmdlet, function, operable progrann, or script file...)

I also reinstalled the Update Manager after the installation of the above named tools, due to the given reason "and the Update Manager PowerShell library (you get prompted to install

it when you install the Update Manager client if it finds the VI

Toolkit during installation)". But I was not prompted to install.

On the VMware Website I can´t find a download for the Update Manager PowerShell library.

Who can please help me?

0 Kudos
IvanSinyov
Contributor
Contributor

0 Kudos