Windows 10’s included Microsoft Defender antivirus—also known as Windows Defender—has a command-line interface. Rather than using the graphical Windows Security app, you can run Windows 10’s built-in antivirus from Command Prompt, PowerShell, or Windows Terminal.