Windows Server 2008 's management tool

Source: Internet
Author: User
Tags command line

A skilled and technical depth of the server administrator, they tend to discard the friendly graphical interface and choose to use the command for server management. This will not only improve productivity, but also at the command line can implement many tasks that cannot be accomplished under the graphical interface. This is especially true for server operating systems such as Windows Server 2008, where the use of commands frees administrators to a large extent. Here are some of the most useful commands in Server 2008.

1. Server Management with the ServerManagerCmd command

ServerManagerCmd is the Server Manager command-line tool that supports three important operations: adding and removing roles, role services, features, and roles, role services, and features for displaying installations. For going to specific parameters, you can enter "ServerManagerCmd/?" at the command line. For viewing. Among them,-query,-install,-remove are the three most commonly used parameters, the user queries, installs and deletes the server role, the role service and the function respectively. The following article demonstrates the use of these three parameters respectively.

(1). Query

By entering the command "Servermanagercmd-query" in the command Prompt window, you can view the configuration and functionality of the server after you enter, eliminating the ability to switch back and forth through the graphical interface of the Services Manager. Show results at a glance: roles and functions are divided into two groups, and the roles, roles, and features that are already installed are displayed in green and preceded by an [X] identity, which is not installed with a white front labeled as []. As shown in Figure 1, the server roles of the author's server installation are Active Directory Domain Services, DNS servers, Windows Deployment Services, and installed functional components: TFTP client, Group Policy manager. Additionally, the installed role services are displayed in a hierarchy under the roles that are being used. (Figure 1)

The author also has a technique to share: When the server has multiple roles, role services, and functional components installed, it will be troublesome if the administrator wants to see if an object is installed. In fact, Servermanagercmd-query support Pipeline command "|", we can do this: if we want to see whether the server has a Group Policy management component installed, you can enter at the command line Servermanagercmd.exe-query | GPMC, if this component is installed after a carriage return, the tool will be opened, or an error message (such as an input command "Servermanagercmd.exe-query | Rsat-ts "See if the Terminal Services tool is installed because there is no installation that will output errors." (Figure 2)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.