Prev | Current Page 1144 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


FOR /F "tokens=2 delims==,??? %%H IN ('DSQUERY Server??™) DO @ECHO.%%H
The focus of this script is the DSQuery Server command, which outputs a list of all of the
domain controllers. The rest of the script simply processes the output of the DSQuery Server command
so that you see the hostnames. Notice how the script uses an at (@) sign in front of the Echo
command so that all you see is the hostnames. It??™s important to include the @ sign as needed to keep
the output of your scripts readable.
Managing Windows in a New Way
This chapter has provided you with an overview of the tasks you can perform on Active Directory,
which is the centralized storage scheme for modern Windows networks. When you use these utilities
at the command prompt, you??™ll find that you save considerable time performing tasks when
compared to using the graphical utilities. Active Directory relies heavily on objects to store data.
For example, you can create a user object that contains specific information about the users on your
network. The object remains the same for each user, but each object instance contains unique information
about a particular user. This chapter helps you build these skills:
? Manage Active Directory using the WMIC NTDomain alias
? Create, list, edit, move, manage, and delete Active Directory objects
? Maintain the directory services database using the NTDSUtil utility
? Manage users, groups, and computers
Now it??™s your turn to work with Active Directory.


Pages:
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
Pozycjonowanie Odżywki kredyt konsolidacyjny domy twoje-miasto-poznan.pl