PowerShell Scanner for Scheduled Tasks and running Services
I have a need to see all the enabled scheduled tasks and what account they are running as... and all active services with the runas account.
I've been searching the archives, found a chain asking about that ability 8 years ago but I dont yet see anything.
Has anyone found a PS script that can do this?
0
Comments
For scheduled tasks, I modified this: https://community.spiceworks.com/topic/256331-get-user-info-that-scheduled-task-runs-as
To see the available properties, run this:
Inventory already has an Account field for Services.
It's quite difficult to solve the problem at first but your suggestion is easy to edit well https://community.spiceworks.com/topic/256331-get-user-info-that-scheduled-task-runs-assoccer random