Q: Does Windows Server 2012 Server Core include .NET and PowerShell support? How do I uninstall them?

A: By default Windows Server 2012 Server Core installation includes .NET components and PowerShell. These components, including PowerShell, can be uninstalled and removed from the disk footprint if a very minimal server installation is required. You can use PowerShell to uninstall them, and itself, by using the following command:

uninstall-windowsfeature PowerShellRoot, NET-Framework-45-Features -remove -whatif

Notice I have the -whatif switch which will stop any changes from actually being made, because many roles and features are unavailable once .NET is removed.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish