Sunday, September 15, 2019
Installing server roles with batch file Essay
When you use this mode, it displays all the roles and features that the server can support. All the entries have a box next to them. A check mark in this box shows that you installed the role or feature on the system. When you supply the name of an XML file, this mode also places the information in the named file for you. The ServerManagerCmd always logs the results of the ââ¬âquery mode. You use the ââ¬âlogPath command line argument to specify a different location for this log. Of course, thereââ¬â¢s one final issue to consider about the ServerManagerCmd utility ââ¬â the format of the answer.xml file. Microsoft strove to keep the format of this file very simple. All you really need to provide is a list of what you want to install or remove. For example, if you want to install the Web Server role, you create an answer.xml file with the following content: Even though the < ServerManagerConfiguration> element appears on multiple lines in this book, it should appear on a single line in your file. The Action attribute tells ServerManagerCmd which task to perform. You can specify Install or Remove as the actions. The < Role> element tells ServerManagerCmd that you want it to install a new role with an ID value of Web-Server. Notice that you must enclose the ID value in double quotes. Use the < RoleService> element to install role services and the < Feature> element to install features. References Techno, C. (2014, Janruary). Retrieved from Computer Techos: http://computertechnos.blogspot.com/2009/09/window-server-2008-using.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.