PowerLine

3.0.0

Classes for richer output and prompts

Minimum PowerShell version

5.0.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PowerLine -RequiredVersion 3.0.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PowerLine -Version 3.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2016 Joel Bennett. All rights reserved.

Package Details

Author(s)

  • Joel Bennett

Tags

Prompt ANSI VirtualTerminal

Functions

Set-PowerLinePrompt Export-PowerLinePrompt Add-PowerLineBlock Remove-PowerLineBlock New-PromptText Get-Elapsed Get-SegmentedPath Get-ShortenedPath Test-Success Test-Elevation

Dependencies

Release Notes


       3.0.0: Total refactor to simplify the array.
           Add a dependency on the Configuration module
           Uses $Prompt (an array of ScriptBlock)
           Uses $Prompt.Colors (an array of PoshCode.Pansies.RgbColor)
           Removed -UseAnsiEscapes -- with Pansies, we always use Ansi escape sequences
           Added -FullColor -- by default, use only 16 Colors [System.ConsoleColor]
           Support storing prompt options so we can restore the prompt upon import
       2.3.1: Fixed the missing New-PowerLineBlock alias for backward compatibility with 2.2.0
       2.3.0: Switch to using Pansies to get support for full RGBColor with css style colors, like: #336699
       2.2.0: Add -RestoreVirtualTerminal switch for controlling if the prompt should reenable VT processing after each command
       2.1.0: Add -UseAnsiEscapes switch for controlling the use of VT escape sequences (in preparation for adding a Write-Host adapter)
       Add pre-compiled assembly for .Net Core
       

FileList

Version History

Version Downloads Last updated
4.0.0-blocks036 86 9/13/2023
4.0.0-blocks019 91 8/11/2022
4.0.0-blocks018 14 7/18/2022
4.0.0-blocks012 27 5/24/2022
3.5.0-previe... 12 5/24/2022
3.4.1 51,314 5/1/2022
3.4.0 3,178 7/19/2021
3.3.0 2,883 1/9/2021
3.2.2 1,324 9/11/2020
3.1.2 7,603 4/27/2019
3.1.1 196 4/14/2019
3.1.0 29 4/14/2019
3.0.3 4,315 10/21/2017
3.0.2 24 10/21/2017
3.0.1 23 10/21/2017
3.0.0 (current version) 27 10/21/2017
2.3.1 1,121 5/12/2017
2.3.0 37 5/12/2017
2.1.0 852 9/27/2016
2.0.0 74 9/12/2016
1.3.1 41 9/6/2016
1.3 .0 27 9/6/2016
1.0.0 57 9/1/2016
Show less