To capture detailed logs for troubleshooting:
(Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release microsoft net framework 4.6.2 offline installer
For mass deployment, the following command switches were used to suppress UI and automate the reboot: microsoft net framework 4.6.2 offline installer
NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /norestart microsoft net framework 4.6.2 offline installer