I could not find a clear example.
Try create new alarm definition about CPU Usage for VM with e-mail send
Did you look at this one?
Solved: Re: Create a custom CPU alarm for VM using PowerCl... - VMware Technology Network VMTN
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Did you look at this one?
Solved: Re: Create a custom CPU alarm for VM using PowerCl... - VMware Technology Network VMTN
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you LucD. This is exactly what I need, I have already written a huge number of scripts based on your examples and not finding an example on this topic I had to write the first post.