You??™ll discover how to
work with scripts in Chapter 6.
Most of the tasks you perform using scripts have standard requirements and need to execute
successfully. Active Directory, the Windows enterprise database, requires some special handling to
work correctly. Chapter 19 discusses the scripting requirements for this special environment and
helps you create scripts that make working with Active Directory a lot easier. Remember to use
Storing Commands in Batch Files
I??™ve worked at the command line for years, so you might assume that I have all of these commands memorized
by now. However, like many people, I find that memorizing all of the commands, their parameters,
and their command line switches is just too much work. However, discovering the required parameters one
time isn??™t too much work. That??™s where batch files come to my aid. I use batch files to remember specific
command sequences for me.
When you need to store one or more commands so you don??™t have to remember them every time you
want to use them, a batch file can do the job. In fact, you can create batch files that have a limited
amount of intelligence so they don??™t perform the same task in the same way every time.
Pages:
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134