How define specific job ro run as another user

Resolved

How define specific job ro run as another user

avatar
Product: PowerShell Universal
Version: 5.6.9

Hi guys, I want to run a specific job that includes code to execute on WSL, but I found out that by default it runs under the local service account. How can I change my scheduled job to run as an administrator?

I couldn’t figure out where to define a new user for the “Run as” option.

avatar

Recommended Answer

Goto Platform\Variables and make sure you have the account saved as a credential in here, then it’ll be available to the dialog box you’ve shown in your snip.

All Comments (2)

avatar

Goto Platform\Variables and make sure you have the account saved as a credential in here, then it’ll be available to the dialog box you’ve shown in your snip.