From dbd00033b520d6e2b2398b3666e46a96306515b5 Mon Sep 17 00:00:00 2001 From: Adhiraj Date: Thu, 15 Oct 2020 03:31:09 +0530 Subject: [PATCH] powershell: add page (#4634) --- pages/windows/powershell.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/windows/powershell.md diff --git a/pages/windows/powershell.md b/pages/windows/powershell.md new file mode 100644 index 0000000000..78cb995bcc --- /dev/null +++ b/pages/windows/powershell.md @@ -0,0 +1,32 @@ +# powershell + +> Command-line shell and scripting language designed especially for system administration. +> More information: . + +- Start a Windows PowerShell session in a Command Prompt window: + +`powershell` + +- 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`