Link Search Menu Expand Document


Command-line shell and scripting language designed especially for system administration. More information:

  • Start a Windows PowerShell session in a Command Prompt window:


  • Load a specific PowerShell console file:

powershell -PSConsoleFile {{path/to/file}}

  • Start a session with a specified version of PowerShell:

powershell -Version {{version}}

  • Prevent the shell from exit after running startup commands:

powershell -NoExit

  • Describe the format of data sent to PowerShell:

powershell -InputFormat {{Text|XML}}

  • Determine how output from PowerShell is formatted:

powershell -OutputFormat {{Text|XML}}

  • Display help:

powershell -Help