Windows server 2008 – How to install or remove role using command line

Posted by aidas | Posted in Command line, Windows 2008 | Posted on 05-05-2009

0




This post will show how to use command line in Windows server 2008 to install and remove role.  In our case we will install and then remove Web server role with all IIS components onboard.

To install role type:

servermanagercmd -install Web-Server

To remove Web Server role type:

servermanagercmd -remove Web-Server

More roles can be found here .

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • StumbleUpon
  • Blogosphere News


Follow us on Twitter !
Follow us on Twitter!


Write a comment