So I am having a lot of problems because OCS runs as a service account and not as an administrator account.
For example: setting powershell execution policy needs to run as Administrator.
Writing to Samba shares because service account is not a user.
Now I would like to be abel to quickly run scripts as a service account to test if they work (without having to send through OCS).
Is this the service account: authority\network service ???
because then I would be able to execute as service account with this command:
psexec -i -u "nt authority\network service" cmd.exe