terbubbs
terbubbs

Reputation: 1512

Install role services using command line

I am taking a Windows Server class and I am supposed to install/uninstall some role services using CLI and PowerShell.

Now it was easy to figure out using PowerShell since there are Install-WindowsFeature and Uninstall-WindowsFeature cmdlets.

But my lab assignment is asking me to provide commands for the CLI.

Is there a way to install/uninstall role services from the CLI?

Just to note: I am using Microsoft's MOAC Lab Set.

Upvotes: 1

Views: 497

Answers (1)

Lance
Lance

Reputation: 3932

Install-WindowsFeature –Name feature_name -ComputerName computer_name -Restart

Upvotes: 1

Related Questions