hello mr garlin error script win10_11 powershell
Échec lors de l’appel de la méthode, car [System.Boolean] ne contient pas de méthode nommée « Split ».
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:189 : 5
+ $URL = $link.Split('"')[1]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
Échec lors de l’appel de la méthode, car [System.Boolean] ne contient pas de méthode nommée « Split ».
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:190 : 5
+ $Filename = $link.Split('>')[1].Split('<')[0] -replace '\s',''
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
Impossible d’appeler une méthode dans une expression Null.
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:194 : 5
+ $Filename = $Filename.Replace($PackageName,[cultureinfo]::GetCult ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Impossible d’appeler une méthode dans une expression Null.
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:195 : 5
+ $Filename = $Filename.Replace('Ocr','OCR')
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Impossible d’appeler une méthode dans une expression Null.
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:197 : 9
+ $Filename = $Filename.Replace($word.ToLower(),$word)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Impossible d’appeler une méthode dans une expression Null.
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:197 : 9
+ $Filename = $Filename.Replace($word.ToLower(),$word)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Impossible d’appeler une méthode dans une expression Null.
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:197 : 9
+ $Filename = $Filename.Replace($word.ToLower(),$word)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation :
) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Test-Path : Impossible de lier l'argument au paramètre « Path », car il a la valeur Null.
Au caractère C:\Users\vigip\Desktop\W10_11LangPack.ps1:200 : 31
+ if (-not (Test-Path -Path $Filename -PathType Leaf)) {
+ ~~~~~~~~~
+ CategoryInfo : InvalidData :
) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand