What account is powershell script run as

(Mark) #1

Trying to make a step that runs a powershell script to create folders on a network server.
I cannot find anywhere that specifies what account is used.

(Bob Walker) #2

It is running as the account the service is running under. By default it is Local System.

It is a windows service, you can change the account the service is running under just like any other windows service. https://octopus.com/docs/infrastructure/deployment-targets/windows-targets/running-tentacle-under-a-specific-user-account

1 Like