< Back

Get-PromptColor

Sun Jan 19, 2020 5:36 pm

NAME Get-PromptColor



SYNOPSIS

Gets a color used by some or all available prompts, or all colors used.





SYNTAX

Get-PromptColor [[-Name] <String>] [<CommonParameters>]





DESCRIPTION

Gets a color, associated with a specific name, which is used in available prompts, or all colors used.





PARAMETERS

-Name <String>

The name associated with the color being gotten. Not mandatory.



Required? false

Position? 1

Default value

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



OUTPUTS



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



PS C:\\>(Imagine "C:\\" is displayed in green.)



[jimmeh@jimmehsbox] C:\\$ Get-PromptColor "Path"

Green









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>(Imagine "C:\\" is displayed in green, and "[jimmeh@jimmehsbox]" in magenta.)



[jimmeh@jimmehsbox] C:\\$ Get-PromptColor

Name Value

---- -----

Preamble Magenta

Path Green











RELATED LINKS

https://github.com/jimmehc/PromptEd





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Get-PromptElements; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-PromptElements



ModuleName : PromptEd

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-PromptElements

Category : Function

Component :

Role :

Functionality :