'powershell command for force start any task

I am trying to force start any task in power shell

I am try the following command but it never force start task.

Task will Start at the time task will be assigned to run

Start-ScheduledTask -Cimsession servername -TaskPath taskpath -TaskName taskname



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source