Powershell Tip : "Old format or invalid type library", Error : 0x80028018
https://www.systanddeploy.com/2014/07/powershell-old-format-or-invalid-type.html?m=1
Lorsque vous travaillez sur des documents Excel avec Powershell,
il se peut que vous rencontriez une erreur "Old format or invalid type library".
Pour résoudre le problème, il suffit d'ajouter la ligne ci-dessous au début de votre code Powershell.
[System.Threading.Thread]::CurrentThread.CurrentCulture = [System.Globalization.CultureInfo] "en-US"
Information sur ce bug Microsoft :
Enregistrer un commentaire