PowerShell scheduled task to run script with Excel Com Object

前端 未结 2 362
小蘑菇
小蘑菇 2021-01-19 11:48

Here is some strange behavior, I\'ve got a PowerShell script that converts an XLSX file into a CSV file. This script runs in the console without issue.

Trying to sc

2条回答
  •  不思量自难忘°
    2021-01-19 12:08

    AFAIK There are no official documentation from MS about this issue/limitation. It should be reported as a bug (contact Microsoft Support).

    The requirement of a desktop folder (which SYSTEM doesn't have by default) shouldn't be necessary for excel to run and at least it should have created the folder if missing.

提交回复
热议问题