< Back

Write-ColorLine

Sun Jan 19, 2020 6:26 pm

NAME Write-ColorLine



SYNOPSIS

Utility to assemble a single line of colored text

from component items.





SYNTAX

Write-ColorLine [-items] <PSObject[]> [[-defaultBackgroundColor] {Black | DarkBlue | DarkGreen | DarkCyan |

DarkRed | DarkMagenta | DarkYellow | Gray | DarkGray | Blue | Green | Cyan | Red | Magenta | Yellow | White}]

[[-symbol] <String>] [-NoNewLine] [<CommonParameters>]





DESCRIPTION

Long description





PARAMETERS

-items <PSObject[]>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-defaultBackgroundColor



Required? false

Position? 2

Default value black

Accept pipeline input? false

Accept wildcard characters? false



-symbol <String>



Required? false

Position? 3

Default value ???????

Accept pipeline input? false

Accept wildcard characters? false



-NoNewLine [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

ColorLine Item(s)

cf. New-ColorLineItem





OUTPUTS







NOTES





A "powerline compatible" font is required to really

benefit from this function.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>















RELATED LINKS