Installing .NET From Command Line

From The Dumping Ground
  1. Download and mount ISO for the version of Windows you are running.
  2. Open Command Prompt or PowerShell as Administrator.
  3. Run the following command, replacing F with the drive letter of the mounted ISO:
dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess