On windows 2008, with latest Emulex driver version 10.2.370.18 the GetFcpTargetMapping method fails with the below error.
Exception calling "GetFcpTargetMapping" : "Not supported " $fcpMappingResult = $hbaFCPInfoInstance.GetFcpTargetMapping <<<< ($hbaPortDetails.Item($i)."PortWWNOrig", 1024);+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException+ FullyQualifiedErrorId : WMIMethodException
I cannot use FCInfo.exe and looking for alternatives by powershell way. Kindly suggest.