I am having some issues with PowerShell plugin. I was able to add Powershell host using Kerberos authentication and "Session per user" session mode but I am not able to see any snapins on PowerShell host.
When I browse Snapins list under Powershell host I get following error in vCO server.log.
2013-04-19 19:13:51.510+0300 ERROR [BaseSession] System.Management.Automation.RuntimeException: Method invocation failed because [System.Management.Automation.PSSnapInInfo] doesn't contain a method named 'op_Addition'.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
...
On PowerShell host I have following in PowerShell event log.
Error Message = Method invocation failed because [System.Management.Automation.PSSnapInInfo] doesn't contain a method named 'op_Addition'.
Fully Qualified Error ID = MethodNotFound,Microsoft.PowerShell.Commands.InvokeExpressionCommand
Context:
Severity = Warning
Host Name = ConsoleHost
Host Version = 3.0
Host ID = 9af10727-c545-4d96-8c62-98a8d613ca15
Engine Version = 3.0
Runspace ID = bca36775-e1cd-4773-a3d7-a2723927a426
Pipeline ID = 1
Command Name = Invoke-Expression
Command Type = Cmdlet
Script Name =
Command Path =
Sequence Number = 15
User = x
Shell ID = Microsoft.PowerShell
PowerShell target host is Windows 2008 R2 with PowerShell 3.0 installed. I can execute remote PowerShell commands from vCO host PowerShell console on PowerShell target host, so WinRM should be OK.
Edit. I attached an screenshot of vCO client with error.