Chapters0/35 ▾
Chapter 7 · Lesson 5 of 5
Scripting, remote access and AI tools
1 min read
Objective 4.8 lists six script file types. A .bat batch file runs at the Windows command line, .ps1 is PowerShell, .vbs is VBScript on Windows, .sh is a Unix or Linux shell script, .js is JavaScript, and .py is Python, the usual pick when one script must run on Windows, macOS and Linux with few or no changes.
Use cases include restarting machines, remapping network drives, installing applications, automated backups and initiating updates. Scripts carry risks too: they can introduce malware, change system settings by accident, or crash a system by mishandling resources.
Objective 4.9 separates remote access by what you see. RDP and VNC show and control the remote desktop, SSH gives a secure command line, and SPICE displays and controls a virtual machine's desktop. WinRM lets an authenticated administrator send a script to a remote Windows machine, run it there and get the results back with no interactive session.
Objective 4.10 adds AI: anything typed into a public AI tool may later be retrievable by others, so customer PII belongs only in the organization's approved private AI, and answers still need checking for bias, hallucinations and accuracy.
Check yourself
1. An administrator wants to send a PowerShell script to a remote Windows server, have it run there, and receive the results without opening an interactive desktop or terminal session. Which technology fits BEST?
2. An administrator needs a single automation script that will run on Windows, macOS, and Linux with few or no changes. Which script type is the BEST choice?
Facts checked 2026-11-16 · Sources: CompTIA A+ Core 2 (220-1202) V15 Exam Objectives
CompTIA A+ cheat sheet: every key fact on one page →