Exception calling "ToInt64" with "2" argument(s): "Additional non-parsable characters are at the end of the string." At line:14 char:1 + $decimal = [System.Convert]::ToInt64($premiereLigneHexa, 16) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : FormatException