I am having problems setting up a script through task manager... My script is as follows.
------------------------------
$a = get-date ((get-date).AddMinutes(2)) -format "yyyy-MM-%d HH:mm
Get-Desktop -pool_id TEST | Get-DesktopVM | Send-LinkedCloneRefresh -schedule $a
## -forcelogoff $true -stoponerror $true
-------------------------------
I tried running that directly through powershell aswell which returns a "Not recognized command"
I run it through the vSphere powercli shortcut on the desktop and get "Could not connect using the requested protocol."
I also tried setting the protocol using Connect-VIServer NAME-SERVER.xsclient.int -protocol https and still the same result.