question

SrithariniRadhakrishnan-2662 avatar image
0 Votes"
SrithariniRadhakrishnan-2662 asked karishmatiwari-msft edited

This command cannot be run due to the error: The specified executable is not a valid application for this OS platform in Custom VM Script Extension

I have created a Custom VM Script for installing .net framework 4.8 in my VMSS, the powershell script is as follows133195-installnetfx48.txt




But im getting this error "This command cannot be run due to the error: The specified executable is not a valid application for this OS platform"
when i debugged, i found that the .exe file is installed as app and not as installer.
It would be a great help if you can help me with this.
Thankyou

windows-server-powershellazure-virtual-machines-scale-setazure-virtual-machines-extension
installnetfx48.txt (3.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
1 Vote"
LimitlessTechnology-2700 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.