verb praf
verb praf

Reputation: 11

New-Object: A parameter cannot be found that matches parameter name 'comobject'

i am trying to open excel worksheet from powershell azure. but i got this error

New-Object: A parameter cannot be found that matches parameter name 'comobject'.

i have install microsoft.powershell.utility, importexcel. and check if new-object is already installed.

the command line that throws this error is

New-Object -ComObject Excel.Application

Upvotes: 0

Views: 2087

Answers (1)

AjayKumarGhose
AjayKumarGhose

Reputation: 4913

Thank you Mathias R. Jessen Posting your suggestion as an answer to help other community members.

"The cmd that you are trying to use in cloudshell, It won't work because cloud Shell has been running on Linux for 3+ years ."

As you are trying to create excel using Azure function can refer this blog .

Upvotes: 0

Related Questions