Error workflow PowerShell script

Jan 14, 2015 at 7:55 AM
MS Server 2008 standart R2, sharepoint foundation 2013
Error executing WorkFlow:
Error while executing PowerShell Script: The type initializer for System.Management.Automation.SessionStateScope' threw an exception.
Anyone can help to solve the problem?
01/14/2015 10:50:27.55  w3wp.exe (0x0704)                           0x2C88  SharePoint Foundation           Legacy Workflow Infrastructure  88xr    Unexpected  WinWF Internal Error, terminating workflow Id# 2567b849-c674-46e2-8ac1-93d7600b2d67 8d99df9c-168d-30d8-3254-40473bfcd4e5
01/14/2015 10:50:27.55  w3wp.exe (0x0704)                           0x2C88  SharePoint Foundation           Legacy Workflow Infrastructure  98d4    Unexpected  System.TypeInitializationException: the type Initializer for ' System.Management.Automation.SessionStateScope" threw an exception. ---> System.InvalidOperationException: Dynamic operations can only be performed in homogenous AppDomain. in System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args) in System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at System.Management.Automation.Language.PSVariableAssignmentBinder.ObjectRule(CallSite site, Object obj) in the System.Management.Automation.PSVariable..ctor(String name, Object value, ScopedItemOptions options, Collection`1 attributes) in the System.Management.Automation.SessionStateScope..cctor () --- End trace inner exception stack --- in System.M... 8d99df9c-168d-30d8-3254-40473bfcd4e5
01/14/2015 10:50:27.55* w3wp.exe (0x0704)                           0x2C88  SharePoint Foundation           Legacy Workflow Infrastructure  98d4    Unexpected  ...anagement.Automation.SessionStateScope.AddSessionStateScopeDefaultVariables()     в System.Management.Automation.SessionStateScope.GetPrivateVariables()     в System.Management.Automation.SessionStateScope.SetVariable(String name, Object value, Boolean asValue, Boolean force, SessionStateInternal sessionState, CommandOrigin origin, Boolean fastPath)     в System.Management.Automation.SessionStateInternal.InitializeSessionStateInternalSpecialVariables(Boolean clearVariablesTable)     в System.Management.Automation.SessionStateInternal..ctor(SessionStateInternal parent, Boolean linkToGlobal, ExecutionContext context)     в System.Management.Automation.ExecutionContext.InitializeCommon(AutomationEngine engine, PSHost hostInterface)     в System.Management.Automation.AutomationEngine..ctor(PSH...  8d99df9c-168d-30d8-3254-40473bfcd4e5
01/14/2015 10:50:27.55* w3wp.exe (0x0704)                           0x2C88  SharePoint Foundation           Legacy Workflow Infrastructure  98d4    Unexpected  ...ost hostInterface, RunspaceConfiguration runspaceConfiguration, InitialSessionState iss)     в System.Management.Automation.Runspaces.LocalRunspace.DoOpenHelper()     в System.Management.Automation.Runspaces.RunspaceBase.CoreOpen(Boolean syncCall)     в ILoveSharePoint.Workflow.Activities.PowerActivity.<>c__DisplayClass1.<Execute>b__0()     в Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()     в Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)     в Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)     в Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)     в ILoveSharePoint.Workflow.Activities.PowerActivity.Execute(ActivityExecu...  8d99df9c-168d-30d8-3254-40473bfcd4e5
01/14/2015 10:50:27.55* w3wp.exe (0x0704)                           0x2C88  SharePoint Foundation           Legacy Workflow Infrastructure  98d4    Unexpected  ...tionContext executionContext)     в System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     в System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     в System.Workflow.Runtime.Scheduler.Run()  8d99df9c-168d-30d8-3254-40473bfcd4e5