VM Created and Deleted events using PowerCLI

A quick one liner to find the the users who created or deleted the VM in the past 7 days. This can be fetched using the TaskEvent which has the description VmBeingDeployedEvent or VmBeingClonedEvent and VmRemovedEvent . If you want  to know the count for longer period then change the number AddDays to longer value Here is code for getting the VM creation […]

FacebookTwitterGoogle+LinkedInShare

Storage vMotion Events using PowerCLI

In the previous post I have showed how to get the count of the vMotion using PowerCLI. In this I will walkthrough the events which we can use the track the Storage vMotion using PowerCLI. The Storage vMotion events can be tracked using the description VirtualMachine.relocate and StorageResourceManager.applyRecommendation and here is the quick one line which you […]

FacebookTwitterGoogle+LinkedInShare

vMotion Count using PowerCLI

A quick one liner to find the count of vMotion which has happened in the past 24 hrs. This can be fetched using the TaskEvent which has the description  VirtualMachine.migrate. If you want  to know the count for longer period then change the number AddDays to longer value   Get-VIEvent -Entity (Get-VM -Location $_) -MaxSamples ([int]::MaxValue) -Start […]

FacebookTwitterGoogle+LinkedInShare

Learning PowerCLI – Book

A new book “Learning PowerCLI” has been released by Packt Publishing. The book is authored by Robert van den Nieuwendijk who is well in the VMware Communities for the contribution which he has made. The book is for anyone who is interested in learning about PowerCLI and the book contains 10 chapter which start from […]

FacebookTwitterGoogle+LinkedInShare
Proudly powered by WordPress   Premium Style Theme by www.gopiplus.com