Exam 220-1202 Topic 1 Question 256 Discussion
Actual exam question for CompTIA's 220-1202 exam
Question #: 256
Topic #: 1
Question #: 256
Topic #: 1
An administrator must write a script that will output the OS name to a file. Which of the following commands is the best way to accomplish this task?
Suggested Answer: D Vote an answer
The winver command displays the Windows operating system name and version information.
This makes it the appropriate command to use in a script when the requirement is to output the OS name to a file.
This makes it the appropriate command to use in a script when the requirement is to output the OS name to a file.
by Dana at Jul 26, 2026, 03:57 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).