about_PowerShell_exe - PowerShell By sdwheeler Archived: 2026-04-05 19:28:01 UTC SHORT DESCRIPTION Explains how to use the powershell.exe command-line interface. Displays the command-line parameters and describes the syntax. LONG DESCRIPTION For information about the command-line options for PowerShell 7, see about_Pwsh. Syntax PowerShell[.exe] [-PSConsoleFile | -Version ] [-NoLogo] [-NoExit] [-Sta] [-Mta] [-NoProfile] [-NonInteractive] [-InputFormat {Text | XML}] [-OutputFormat {Text | XML}] [-WindowStyle