PowerCLI – vulnerability report script

powerCLI iconI had to create a script to automate vulnerability reporting. Thanks to my colleague Grzegorz from http://psvmware.wordpress.com who helped me a lot with a script. Script generates report in CSV format and send email out with attachment.

Requirements:

  1. Base PowerCLI installed
  2. VUM PowerCLI snap-in installed

[button color=”red”] NOTEVUM PowerCLI snap-in has to have the same build version as vCenter server.[/button]

Send email with attached CSV report.

[button link=”http://vmwaremine.com/2013/04/19/schedule-task-with-powercli-script/”] Learn how to store credentials in a file and how to schedule a task with PowerCLI script in Windows 2008 R2[/button]

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • Not bad 😉

    • 🙂

      • ankoji

        Hi Artur,

        While running above script and getting error ‘ the process is terminated due to Stackover flow exception’ . Please help on this,