pwsh: refresh page (#10003)
This commit is contained in:
@@ -1,25 +1,7 @@
|
|||||||
# pwsh
|
# pwsh
|
||||||
|
|
||||||
> PowerShell Core is a cross-platform automation and configuration tool/framework.
|
> This command is an alias of `powershell`.
|
||||||
> See also: `powershell`.
|
|
||||||
> More information: <https://learn.microsoft.com/powershell/>.
|
|
||||||
|
|
||||||
- Start an interactive shell session:
|
- View documentation for the original command:
|
||||||
|
|
||||||
`pwsh`
|
`tldr powershell`
|
||||||
|
|
||||||
- Start an interactive shell session without loading startup configs:
|
|
||||||
|
|
||||||
`pwsh -NoProfile`
|
|
||||||
|
|
||||||
- Execute specific commands:
|
|
||||||
|
|
||||||
`pwsh -Command "{{string}}"`
|
|
||||||
|
|
||||||
- Execute a specific script:
|
|
||||||
|
|
||||||
`pwsh {{path/to/script.ps1}}`
|
|
||||||
|
|
||||||
- Start an interactive shell session with a specific execution policy:
|
|
||||||
|
|
||||||
`pwsh -ExecutionPolicy {{AllSigned|Bypass|Default|RemoteSigned|Restricted|...}}`
|
|
||||||
|
Reference in New Issue
Block a user