VI Errors one-liner

A quick one-liner that would be usefull in an email to you each morning via a scheduled task….

For the whole VI….

Get-VIEvent -Type Error | Format-Table CreatedTime, FullFormattedMessage

For a specific cluster…

Get-Cluster “MYCLUSTER” | Get-VIEvent -Type Error | Format-Table CreatedTime, FullFormattedMessage

I might even do a daily health check script which gives you performance stats and errors, complete with email options and instructions on how to setup as a scheduled task, please let me know if this will be usefull.

Find this and other great one-liners here

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.