How do I install .NET 4 on Windows Server 2008 R2 from the command line or PowerShell?
This post shows how to do it for .NET 3.5 using dism.exe and PowerShell. I am guessing that, since the .NET 4.0 binaries need to be downloaded first, these instructions do not work for .NET 4.
Best Answer
I have done the following in Powershell:
There are other command line options than
/q
(for quiet). You can see those by doing:& .\dotNetFx40_Full_x86_x64.exe /?