A desktop technician is inspecting a legacy administrative script designed to execute natively using the Windows Script Host (WSH) engine. Which of the following file extensions is used for this script?
- .vbsAnswer
- B.bat
- C.ps1
- D.sh
Answer
The .vbs extension is used for VBScript files executed by Windows Script Host.
The correct answer is the .vbs file extension. VBScript (Visual Basic Scripting Edition) uses the .vbs extension and runs natively on Windows systems via the Windows Script Host (WSH) engine.
Step-by-Step Solution
Key Concept
Basic Scripting File Extensions