Wednesday, 3 September 2014

Installing Net-Framework 3.5 using Powershell

There are many ways and the most easiest way is to add the feature bu this post is all about the other ways to install Net-framework 3.5 using powershell commands.

Here are the 3 commands you can use for deffrent places where you want to install .net-framework 3.5 from:

Using PowerShell, specify the source files path when installing.
  • Install-WindowsFeature NET-Framework-Core –Source D:\Sources\sxs
Using DISM from the command prompt, specify the source files path parameter:

  • DISM /Online /Enable-Feature /FeatureName:NetFx3 /Source:d:\sources\sxs
Using a file share containing the sxs folder, specify the unc share path:
  • Install-WindowsFeature NET-Framework-Core –Source \\ServerName\ShareName\sxs

 Here is how to install .Net-framework 3.5 using the first command in powershell.


Go to powershell by searching for it or go and look for it in the start menu:
After Powershell opened begin typing the code/command:
 When finish hit enter:
And this will install .Net-Framework 3.5 onto your machine.

NOTE:

You must be certain that your PC has .Net-framework 3.5. Windows 8.1 uses .Net-Framework 4 so be sure to change the number but the source will stay the same.

When installing the .Net-Framework 3.5 will include all older versions.

This same way desplayed above will be exactly the same when installing .Net-Framework 3.5 to Windows Server 2012/ R2

I hope this helps you and enjoy the other post.

Share this article

0 comments:

Post a Comment

 
© 2014 PGRITSOLUTIONS
BTDesigner
back to top