2 thoughts on “Getting information about Run As Accounts for services and scheduled tasks

  1. Wonderfull work.

    Ideas/what i found missing:
    An enabled-property in the output-objects.If its a scheduled task it will be true if the task is enabled. If it’s a service it’s true if the service startupmode is ‘automatic’ and else disabled (i suppose that it should be false if its manuel even if the service is running – but i suppose your script is not looking for that at all?).

    Thank you again for your inspiring AND reallife usable code :-)

    Tak :)