VMware Cloud Community
mesalman
Contributor
Contributor

PowerCLI - VMware.Vim

Hi,

I am using powercli (vmware.vim) for .NET. Need to know how can and where i get TIMESTAMP if a disk is added to VM or RAM is reduced or increased.

Capture.JPG

Regards,

Salman

0 Kudos
3 Replies
LucD
Leadership
Leadership

You will have to look at the events.

See for example William's How to audit VM reconfigurations and see what exactly changed?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
AdamRushUK
Enthusiast
Enthusiast

What application are you writing your code in there?

VCP-Cloud | VCP5-DCV | MCITP:EA | MCSE | CCNA | CCAA LinkedIn: https://www.linkedin.com/in/adamrushuk | Twitter : @adamrushuk
0 Kudos
mesalman
Contributor
Contributor

Hi Adam,

Thanks for coming back on this. I am using C#. It's a console app that runs and pull the data out.

I need to get the config specs modification time stamp and what has been changed.

The idea is to check on hourly based if something has changed in a VM or not.

Would be nice to have a suggestion and best to have a code snippet in c#.

Regards,

Salman

0 Kudos