Multiple choice technology

The below statement is True/False? “A PowerShell Script can be compiled to run as an exe file”

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

PowerShell scripts (.ps1 files) cannot be compiled into executable (.exe) files. PowerShell scripts are interpreted by the PowerShell host engine. While there are third-party tools that can package scripts with the PowerShell runtime into executables, PowerShell itself does not provide compilation to native executables. The statement is false.