Citrix Config Sync Service Failed an Import-Error 505

Citrix Config Sync Service Failed an Import-Error 505

book

Article ID: CTX230186

calendar_today

Updated On:

Description

The following error message was observed:

Exception: System.Management.Automation.MethodException: Cannot find an overload for "GenerateCmdletParameterSplatHash" and the argum↵ ent count: "5". at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array↵ input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context) at System.Management.Automation.Stateme↵ ntListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context) at System.Manag↵ ement.Automation.TryStatementNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext conte↵ xt)

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

  1. Upgrade the PowerShell version. Refer to: https://www.microsoft.com/en-us/download/details.aspx?id=40855 on both the DDcs.
  2. Set the execution policy to RemoteSigned on DDC2, using the cmdlet:
"Set-ExecutionPolicy -ExecutionPolicy RemoteSigned"

 

Problem Cause

This issue happens due to an older version of PowerShell (V2)

Issue/Introduction

Citrix Config Sync Service Failed an Import-Error 505