If I run Start-Process "$OutFile" the Excel workbook opens in Excel correctly. If I do the following it does not work: If (Test-Path $OutFile) { ...
確定! 回上一頁