A desktop support technician needs to automate routine maintenance tasks on Windows 11 workstations using built-in operating system tools. The scripts must execute natively without requiring the installation of any third-party interpreters or runtime environments. Which of the following file extensions represent script types that can run natively in a standard Windows environment? (Select TWO.)
- .ps1Answer
- .batAnswer
- C.sh
- D.py
Answer
The script extensions that run natively in Windows are .ps1 and .bat.
The .ps1 (PowerShell script) and .bat (Batch file) extensions represent script formats that execute natively in standard Windows operating system installations using built-in engines (PowerShell host and cmd.exe).
Step-by-Step Solution
Key Concept
Identifying native Windows scripting environments and file extensions