While deploying the Service Fabric Cluster, I got the below issue.
Connect-ServiceFabricCluster : An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) At XXYYZZ(path of script):62 char:2 + Connect-ServiceFabricCluster @ConnectionParams + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Connect-ServiceFabricCluster], BadImageFormatException + FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster
Actuall it was running perfectly when we installed required modules
https://www.microsoft.com/en-in/download/details.aspx?id=30679
http://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MicrosoftAzure-ServiceFabric-CoreSDK   
But we wanted to install the service fabric cluster from the system, where system do not have the required Service Fabric Components(which are above ones). Now we are loading these components/modules/dll through the Import-Module command by placing the dll's in a particular folder and used the command called Import Module. May I know, how can I resolve this issue.