What context does the agent run under on Domain Controllers
I am testing scripts on my Domain Controllers and they are not running. So I built a custom inventory rule that just returns "whoami". This obviously returns "nt authority\system" as expected for all non-Domain Controllers. It does not run on the domain controllers, so I do not know what context the agent runs under. A couple other custom inventory rules do run on the DC, so the agent can run some commands.
Thanks for any help.
Community Chosen Answer
The problem was just with powershell scripts. And the cause was that there is not a 32-bit version of powershell installed by default on Server Core 2008 R2. Changing the script to utilize the sysnative path to access the 64-bit version of powershell resolved this problem.