Unregister Background tasks with powershell - Oneliners
Unregister Background tasks with powershell - One liner
If you want to get all backgroundtasks for UWP apps. You can use this to find the entrypoint:
get-appbackgroundtask
Now, you can decide to unregister each with the following command:
unregister-appbackgroundtask -taskid
However, if you want a oneliner to do it for you:
get-appbackgroundtask | where -Property entrypoint -like "INSERTNAMEOFAPP*" |select taskid | foreach {unregister-appbackgroundtask -taskid $_.EntryPoint}
Comments
Post a Comment