Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

Powershell - Excel - Old format or invalid type library

$
0
0

Hallo, ich bin bei meiner Aufgabe kurz vorm Ziel mal wieder auf ein Problem gestoßen.

Als ich mein fertiges Powershell-Script (es erstellt eine Excel-Datei) auf den Server wo es später laufen soll hochgeladen habe, bekam ich beim ausführen den Fehler:

Exception calling "Add" with "0" argument(s): "Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))"

ich habe bereits rausgefunden, dass wenn ich unter Control Panel -> Region and Language -> Formats -> Format: auf "English (United States)" stelle (Ursprünglich stand es auf "German (Germany)") funktioniert es.

Da das Script aber als Scheduled Task von SYSTEM ausgeführt werden soll, hilft mir das leider nicht viel.

Hat jemand eine Idee wie ich es unter SYSTEM zum laufen bekomme?

lg Zuyas


Viewing all articles
Browse latest Browse all 2314


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>