Reply to Message

View discussion in a popup

Replying to:
daphnissov
Immortal
Immortal

In PowerCLI you can accomplish this with a Get-View of the ScheduledTaskManager object like so.

(Get-View ScheduledTaskManager).ScheduledTask | %{(Get-View $_).Info} | Select Name,NextRunTime

It will return for any object in the system. For example, if I schedule two power on tasks for a couple of VMs, I can run this pipeline without specifying those individual objects.

pastedImage_1.png