1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Powershell help - List of Scheduled Tasks

Discussion in 'Scripting & Programming' started by OnFire, Dec 7, 2009.

Click here to banish ads and support Certforums by becoming a Premium Member
  1. OnFire

    OnFire Nibble Poster

    Can anyone help with the following........

    I have written a powershell script to query services, etc that run on remote servers under the context of the "administrator".

    I also need to get a list of scheduled tasks but only the ones that "run as" administrator.

    I have played with schtasks /query but I can only get a full list of the tasks and not filter it too good. FINDSTR can just get the name and run as field but it will still list them all.

    Anyone tried to do this before??

    BTW I have tried the wmi way but that only works for non custom/user created tasks.
    Certifications: See Signature
    WIP: None....at last!!

Share This Page