PowerShell command line options
You can use command line options to run PowerShell from the command line of another tool, such as Cmd.exe or bash, or use it at the PowerShell command line to start a new session.
The command line options allow you to customize the configuration of the PowerShell session and control the input.
For a full list of options for Windows PowerShell (powershell.exe), see about_PowerShell_exe.
For a full list of options for PowerShell Core (pwsh), see about_pwsh.