https://modernmanagement.blog/2013/05/02/how-to-run-powershell-scripts-with-a-service-account-to-access-configmgr-2012-sp1/
How to run Powershell scripts with a Service Account to access ConfigMgr 2012 SP1