4. Adding and Removing Features
Adding or removing a feature in SBS 2011 is a very similar
process to adding or removing a role. The difference is that
features are independent of the roles on a server—a feature can be
added regardless of the roles that are already on the computer.
Again, as with adding a role, if there’s a dependency, the Add
Features Wizard will automatically prompt you to add the required
additional roles or features. You can also add features to a Windows
Server 2008 R2 server that has the Hyper-V role installed without
changing the licensing.
5. Adding Features
Adding a feature to Windows Server 2008 R2 usually doesn’t
require other features or roles, though there are
exceptions.
To install the two basic features we have on every server,
follow these steps:
Open the Server Manager console if it isn’t already
open.
Click Features in the left pane of the Server Manager
console.
Select Add Features from the Action menu to open the
Select Features page of the Add Features Wizard, as shown in
Figure 17.
Select the features you want to install, and click Next to
begin the installation process.
When the process completes, you’ll see the Installation
Results page. If this page shows that one or more of your
features has a pending restart, you’ll need to restart the
server before continuing.
Click Close to exit the wizard. Click Yes to restart the
server if prompted.
If your installation requires a restart, be sure to log
back on with the same account you used to add the features. The
installation isn’t complete until you log back on with that
account. The Resume Configuration Wizard will open and complete
the installation of the features you selected. Click Close when
the installation is complete.
To install the same two features using the command line, use
the following command:
servermanagercmd -install PowerShell-ISE
Subsystem-UNIX-Apps
To install the same two features using Windows PowerShell, use
the following commands:
Import-Module ServerManager
Add-WindowsFeature PowerShell-ISE,
Subsystem-UNIX-Apps
In our experience, these two features can be installed
together without requiring a server restart. We’ve added the
preceding Windows PowerShell to our standard build configuration,
ensuring that the tools we need and expect are available on all
servers.
Note:
Windows PowerShell is installed by default on all Windows
Server 2008 R2 servers, including Windows Small Business Server
2011. The Integrated Scripting Environment (ISE) is not installed
by default, however, and is a useful addition. The Subsystem for
UNIX Applications is not installed by default and is probably
useful only to those who must support mixed environments where
UNIX and Linux are part of the SBS networking environment.
5.1. Removing Features
Removing a feature from Windows Server 2008 R2 usually
doesn’t affect other features or roles, though there are
exceptions, including the .NET Framework 3.5.1 feature, which has
several subsidiary features.
To remove a feature, follow these steps:
Open the Server Manager console if it isn’t already
open.
Click Features in the left pane of the Server Manager
console and then highlight the feature you want to
remove.
Select Remove Features from the Action menu to open the
Select Features page of the Remove Features Wizard.
Clear the check box of the feature you want to remove
and click Next, and then click Remove to begin the removal
process.
When the process completes, you’ll see the Removal
Results page. If this page shows a pending restart, you’ll
need to restart the server before continuing.
Click Close to exit the wizard. Click Yes to restart the
server if prompted.
If your removal requires a restart, be sure to log back
on with the same account you used to remove the features. The
removal isn’t complete until you log back on with that
account. The Resume Configuration Wizard will open and
complete the removal of the features you selected. Click Close
when the wizard is finished.