VMware Cloud Community
jhebertupo
Contributor
Contributor

Powercli : current tasks of pools and VMs in Horizon View

Hello,

Is it possible to see the current tasks of poolls and VMs in powercli in Horizon View?

Thank You

21 Replies
HainesFGL
Enthusiast
Enthusiast

Got a little confused trying to follow this thread, but *I think* you were about to answer the question I have.  I'm trying to list active tasks (as you pointed out in your screenshot) of all Horizon Pools. 

We're using Horizon 7.11 & PowerCLI ver. 

PowerCLI Version
----------------
VMware PowerCLI 11.5.0 build 14912921
---------------
Component Versions
---------------
VMware Common PowerCLI Component 11.5 build 14898112
VMware HorizonView PowerCLI Component 7.1.0 build 14653756
VMware Cis Core PowerCLI Component PowerCLI Component 11.5 build 14898113
VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 11.5 build 14899560

 

Task_Get doesn't seem to work for me.  

Reply
0 Kudos
HainesFGL
Enthusiast
Enthusiast

Below is the output I receive....

PS C:\Windows\system32> $services1=$global:defaulthvservers.extensiondata

PS C:\Windows\system32> $hvTask1 = $services1.Task.Task_Get()
Cannot find an overload for "Task_Get" and the argument count: "0".
At line:1 char:1
+ $hvTask1 = $services1.Task.Task_Get()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodException
+ FullyQualifiedErrorId : MethodCountCouldNotFindBest

Reply
0 Kudos