Thanks . But want to now is there any solution to insert task name manually and run two command
first command just show current running tasks :
Get-Task -Status 'Running'
now with above command we can find task name then run stop-task command with task name ? such as this
stop-task -name "deploy testvm"