vrijdag 13 juli 2007 7:39
Server Manager - Adding Roles & Features
The Add Roles Wizard, which can be used to add one or more roles to the server, automatically checks for dependencies between roles and verifies that all required roles and role services are installed for each selected role.
For some roles, such as Terminal Services and Active Directory Certificate Services, the Add Roles Wizard also provides configuration pages that allow the user to specify how the role should be configured as part of the installation process. Currently, there are 17 server roles available (listed below) and which 9 can also run on Server Core (as mentioned in a previous post).
Most roles, such as File Services, Terminal Services, and Active Directory Certificate Services, are composed of multiple sub-elements, identified as role services in the Server Manager interface. These role services can be selected via the Add Role Services Wizard.
The Add Features Wizard allows you to install one or more features (PowerShell, GPMC, NLB, fail-over clustering) to the computer in a single session. Features are software programs that support or augment the functionality of one or more roles or enhance the functionality of the server itself, regardless of which roles are installed.
Server Manager also offers a command-line tool - ServerManagerCmd.exe - which automates the deployment of roles and features on computers running Windows Server 2008.
Use ServerManagerCmd.exe to - in an unattended way - install and remove roles, role services, and features via command line parameters or unattend XML. ServerManagerCmd.exe parameters also display a list of all roles, role services, and features both installed and available for installation on the computer.
To find out which roles and/or features are currently installed, use
To install a new role, use
ServerManagerCmd.exe -install Web-Server
ServerManagerCmd.exe -install RSAT-Feature-Tools
ServerManagerCmd.exe -install RSAT-Role-Tools
Results in all Server Role snapins being installed
Some other parameters:
ServerManagerCmd.exe -query [<query.xml>] [-logPath <log.txt>]ServerManagerCmd.exe -inputPath <answer.xml> [-resultPath <result.xml> [-restart] | -whatIf] [-logPath <log.txt>]
ServerManagerCmd.exe -install <command-Id> [-setting <setting-name>=<setting value>]* [-allSubFeatures] [-resultPath <result.xml> [-restart] | -whatIf] [-logPath <log.txt>]
ServerManagerCmd.exe -remove <command-Id> [-resultPath <result.xml> [-restart] | -whatIf] [-logPath <log.txt>]ServerManagerCmd.exe [-help | -?]
For more information: Server Manager Technical Overview - Appendix
Filed under: WindowsServer2008, ServerManager