VMware Cloud Community
Bisti
Enthusiast
Enthusiast
Jump to solution

View old tasks and events

Is there a way to show taks and events on objects thorugh Power CLI or CLI? vSphere Client can only show up to 1000 entries. I know i coudl do a SQL select but if possible I would like to avoid that.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Use the Get-VIEvent cmdlet.

Make sure to use the MaxSamples parameter, the default is 100.

There's a bunch of posts around events on my blog.


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

View solution in original post

0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

Use the Get-VIEvent cmdlet.

Make sure to use the MaxSamples parameter, the default is 100.

There's a bunch of posts around events on my blog.


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

0 Kudos
Bisti
Enthusiast
Enthusiast
Jump to solution

Thank you, that is what I was looking for. It seems though it is only available through Power CLI, there is no such command in regular CLI.

0 Kudos
LucD
Leadership
Leadership
Jump to solution

To be honest, I don't know.

Perhaps you should raise the question in the CLI Community as well.


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

0 Kudos