Viewing scheduled task account?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Viewing scheduled task account?
I am having trouble figuring out a way to see which account a scheduled task is set to run as. Has anyone done this before? I'm trying to write a script that'll go out and look at all of my servers and give me a list of which scheduled tasks are running as with which user accounts. This will make life a lot easier when it's time to change service account passwords. Anyone know how to do this? The Win32_ScheduledJob WMI class doesn't have any info about the "Run As" field. mdearmon2007-06-22 13:49:40