CompTIA
SK0-005 · Question #627
An administrator is writing a script to update a setting on 100 servers. The required steps and syntax are the same on all the servers, except for the server name. Which of the following scripting…
The correct answer is A. Use of a variable. Using a variable allows the script to dynamically change the server name while applying the same steps and syntax across multiple servers.
Server administration
Question
An administrator is writing a script to update a setting on 100 servers. The required steps and syntax are the same on all the servers, except for the server name. Which of the following scripting techniques will most likely be used to implement this setting change?
Options
- AUse of a variable
- BUse of a constant
- CUse of a comparator
- DUse of a condition
How the community answered
(44 responses)- A70% (31)
- B7% (3)
- C18% (8)
- D5% (2)
Explanation
Using a variable allows the script to dynamically change the server name while applying the same steps and syntax across multiple servers.
Topics
#Scripting#Automation#Variables#Server Configuration
Community Discussion
No community discussion yet for this question.