RunWithElevatedPrivs uses the application pool user for regular web applications, not the farm administrator. If elevation occurs during central administration, then this is the farm administrator account. I assume you are doing this on regular web servers, so run PowerShell as you add the application pool.
source
share