mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 19:05:59 +02:00
powershell: add page (#4634)
This commit is contained in:
parent
78c84c8e60
commit
dbd00033b5
1 changed files with 32 additions and 0 deletions
32
pages/windows/powershell.md
Normal file
32
pages/windows/powershell.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# powershell
|
||||
|
||||
> Command-line shell and scripting language designed especially for system administration.
|
||||
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/powershell>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue