asktechsupport / help

help@asktechsupport
5 stars 0 forks source link

Search for Scheduled Tasks running as a specified user #85

Closed asktechsupport closed 3 months ago

asktechsupport commented 3 months ago

code

$allTasks = Get-ScheduledTask *

$allTasks.Principal | select UserID