This is a quick guide on how to add and remove features from SQL Server via command, following the theme of recent posts.
The following areas will be covered within this post;
# Check Features Installed on a SQL Server.
# Installing a SQL Server Feature (Replication) via Command.
# Uninstalling a SQL Server Feature (Replication) via Command.
A mounted SQL Server ISO is required for us to first RunDiscovery.
That’ll only take a second, and once done we can view the contents of the Summary.txt file to see the discovery result.
The command below should be straight-forward enough to understand. See Microsoft’s documentation for more information on parameters etc.
We can verify the feature installation by running another Discovery.
Uninstalling a feature is as easy as the installation of one. Run the command as shown below.
And finally run another Discovery.