I have to generate an Excel sheet populated with some users informations.
It works on the server itself, but not when i run it via Custom commands.
There is the code that need to be executed to launch Excel :
$excel = New-Object -ComObject excel.application -ErrorAction STOP $excel.visible = $false $workbook = $excel.Workbooks.Open($FilePath)
This should open my excel workbook.
Although it does'nt open and throws an error :
How to interact with com objects on Adaxes?