다음을 통해 공유


Enable .NET Framework 3.5 by using Windows PowerShell

Applies To: Windows 8, Windows 8.1

For a Windows Server® 2012 core installation that is not connected to the Internet, you can use Windows PowerShell to add .NET Framework 3.5 and provide access to the \sources\sxs folder on the installation media. The \sources\sxs folder can be copied to network share (for example, \\network\share\sxs) to make it easily accessible to multiple computers. The target computer account DOMAIN\SERVERNAME$ must have at least read access to the network share.

Requirements

  • Windows Server 2012

  • Installation media

  • Administrator user rights. The current user must be a member of the local Administrators group to add or remove Windows features.

  • Target Computers might need network access and rights to use either alternate sources or an Internet connection to use Windows Update.

Steps

  1. Start Windows PowerShell in the Administrator Command Prompt by typing:

    powershell
    
  2. To install .NET Framework 3.5 from installation media located on a network share, use the following command:

    Install-WindowsFeature Net-Framework-Core -source \\network\share\sxs
    

    Where \\network\share\sxs is the location of the source files.

    For more information about the Install-WindowsFeature cmdlet, see Install-WindowsFeature.

  3. To verify installation, run the following command:

    Get-WindowsFeature
    

    The Install State column should show Installed for the .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature.

See Also

Concepts

Microsoft .NET Framework 3.5 Deployment Considerations