I've experienced the same behavior when the SCCM console has not be open before under a user that has admin rights to SCCM.
Cesar A. Meaning is NOT in words, but inside people! Dr. Myles Munroe My iPad takes half the blame for misspells. > On Jul 30, 2014, at 4:20 PM, "Atkinson, Matt" <[email protected]> > wrote: > > I’m trying to run some scripts against my CM12R2 environment that are running > as the local system account. After I import the sccm module the psdrive for > my SCCM site is not created. I was able to verify this by using psexec to > start a powershell instance as the local system account and then launching > the SCCM console. I get an error that the account is not permitted to connect > to the database. > > What permissions need to be added/adjusted for the site server local system > account to be allowed to connect? Seems like this should just work out of the > box. > > I did see this blog regarding the certificate, but it looks like that has > already been completed on this system: > http://blogs.technet.com/b/microsoft_denmark_premier_field_engineering_config_manager_blog/archive/2013/01/30/running-configuration-manager-2012-powershell-scripts-as-a-service-account-or-local-system.aspx > > Thanks! > > Matt Atkinson > Client Systems Engineer > 3601 Murray Blvd Ste. 175 Beaverton, OR 97005 > W: 971-282-0342 C: 503-851-4620 > > > > > This message is intended for the sole use of the addressee, and may contain > information that is privileged, confidential and exempt from disclosure under > applicable law. If you are not the addressee you are hereby notified that you > may not use, copy, disclose, or distribute to anyone the message or any > information contained in the message. If you have received this message in > error, please immediately advise the sender by reply email and delete this > message. >

