vSphere Hypervisor

 View Only

List tasks for esxi using c#

  • 1.  List tasks for esxi using c#

    Posted Sep 01, 2017 09:35 PM

    Hello

    I have a single esxi without the use of vCenter.  Is it possible to use TaskManager along with CreateCollectorForTasks to retrieve all tasks that are occurring on this one system?  Or do I have to just use the vm.recentTask to get that information? 

    When I use the recentTask I get the following when I power on a VM:

    "Task-ha Task-3-vim.VirtualMachine.powerOn-183533404"

    What does the 183533404 indicate?

    If I can use the Task Manager can someone please show me how to proceed?

    Thanks