thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

IT Support & Hardware · Foundational

Script File Types

Common script file extensions tested at the A+ level: .bat, .ps1, .vbs, .sh, .js, and .py.

Definition

.bat runs in Command Prompt, .ps1 in PowerShell, .vbs with Windows Script Host, .sh in Unix shells, .js with JavaScript engines, and .py with Python. Scripts automate restarts, drive mapping, installs, backups, and data gathering. Risks include malware, misconfiguration, and resource exhaustion.

Example

A .ps1 script that remaps drives and installs a printer at logon.

Exam tip

Scripts can be blocked by PowerShell execution policy or antivirus; signed scripts help.

Related terms