Cannot find an overload for "Substring" and the argument count: "2". At line:3 char:1 + $prefixeSousReseau = $adresseIPLocale.Substring(0, $adresseIPLocale.L ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest