Forrest logo
back to context overview

powershell

List of commands for powershell:

  • powershell:tldr:08618 powershell: Prevent a shell from exit after running startup commands.
    $ powershell -NoExit
    try on your machine
    explain this command
  • powershell:tldr:183dd powershell: Determine how an output from PowerShell is formatted.
    $ powershell -OutputFormat ${select}
    try on your machine
    explain this command
  • powershell:tldr:2f2d3 powershell: Start an interactive shell session.
    $ powershell
    try on your machine
    explain this command
  • powershell:tldr:4e95f powershell: Start a session with a specific version of PowerShell.
    $ powershell -Version ${version}
    try on your machine
    explain this command
  • powershell:tldr:568c7 powershell: Start an interactive shell session without loading startup configs.
    $ powershell -NoProfile
    try on your machine
    explain this command
  • powershell:tldr:cb6ed powershell: Execute a specific script.
    $ powershell -File ${path-to-script-ps1}
    try on your machine
    explain this command
  • powershell:tldr:e1acb powershell: Execute specific commands.
    $ powershell -Command "${echo 'powershell is executed'}"
    try on your machine
    explain this command
  • powershell:tldr:fa430 powershell: Describe the format of data sent to PowerShell.
    $ powershell -InputFormat ${select}
    try on your machine
    explain this command
back to context overview