Hi Roland, You are probably running into the same issue that had me going nuts for a while. If you launch the admin console for that user before trying out the script it runs OK right?
//A From: [email protected] [mailto:[email protected]] On Behalf Of Roland Janus Sent: den 2 februari 2015 10:00 To: [email protected] Subject: [mssms] CM Powershell provider not available in current PS-session I use PS to install all pre-reqs and CM itself, all working fine The problem is that the CM cmdlets don't work because the current PS-session doesn't know about the CM provider: Get-psdrive -psprovider cmsite returns nothing, hence I can't use Set-location either That's just for the current session, any new session works fine. That didn't show before since I had to invoke new x86 sessions to run those CM-cmdlets anyway, but with R2CU2 the cmdlets are native x64, so I could use the same original session. But that one doesn't know about the provider. I guess it's similar to env-variables in a CMD, where new values are unknown to the current cmd. Is there a way to let that session know about the change, like a "reload/refresh everything"? Or is there another way to use the cmdlets in that session anyway? -roland

