Add .NET Framework with PowerShell

Before installing SQL Server 2008 R2 on Windows Server 2008 R2 SP1, the .NET Framework Feature must be added. To do this via PowerShell run the following:

Import-Module ServerManager
Add-WindowsFeature AS-NET-Framework | Out-Null

The Out-Null is optional but by piping the output means nothing will get returned to the PowerShell window.

Leave a Reply

Your email address will not be published. Required fields are marked *