< Back
New-MSTerminalColorScheme
Post
NAME New-MSTerminalColorScheme
SYNOPSIS
Add a new color scheme to profiles.json
SYNTAX
New-MSTerminalColorScheme [-Name] <String> [[-Foreground] <String>] [[-brightRed] <String>] [[-brightWhite]
<String>] [[-brightYellow] <String>] [[-cyan] <String>] [[-green] <String>] [[-purple] <String>] [[-red] <String>]
[[-white] <String>] [[-yellow] <String>] [[-Background] <String>] [[-black] <String>] [[-blue] <String>]
[[-brightBlack] <String>] [[-brightBlue] <String>] [[-brightCyan] <String>] [[-brightGreen] <String>]
[[-brightPurple] <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Add a new color scheme to profiles.json
PARAMETERS
-Background <String>
The background color.
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Foreground <String>
The foreground color.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
The name of the color scheme.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-black <String>
The black color (Ansi 0).
Required? false
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-blue <String>
The blue color (Ansi 4).
Required? false
Position? 4
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightBlack <String>
The brightBlack color (Ansi 8).
Required? false
Position? 5
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightBlue <String>
The brightBlue color (Ansi 12).
Required? false
Position? 6
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightCyan <String>
The brightCyan color (Ansi 14).
Required? false
Position? 7
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightGreen <String>
The brightGreen color (Ansi 10).
Required? false
Position? 8
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightPurple <String>
The brightPurple color (Ansi 13).
Required? false
Position? 9
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightRed <String>
The brightRed color (Ansi 9).
Required? false
Position? 10
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightWhite <String>
The brightWhite color (Ansi 15).
Required? false
Position? 11
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightYellow <String>
The brightYellow color (Ansi 11).
Required? false
Position? 12
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-cyan <String>
The cyan color (Ansi 6).
Required? false
Position? 13
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-green <String>
The green color (Ansi 2).
Required? false
Position? 14
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-purple <String>
The purple color (Ansi 5).
Required? false
Position? 15
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-red <String>
The red color (Ansi 1).
Required? false
Position? 16
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-white <String>
The white color (Ansi 7).
Required? false
Position? 17
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-yellow <String>
The yellow color (Ansi 3).
Required? false
Position? 18
Default value None
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
None
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> New-MSTerminalColorScheme -Name BrightBlue -blue "#0000ff"
Creates a new color scheme named BrightBlue that overrides the blue color of the default colors (the Campbell
scheme).
RELATED LINKS
SYNOPSIS
Add a new color scheme to profiles.json
SYNTAX
New-MSTerminalColorScheme [-Name] <String> [[-Foreground] <String>] [[-brightRed] <String>] [[-brightWhite]
<String>] [[-brightYellow] <String>] [[-cyan] <String>] [[-green] <String>] [[-purple] <String>] [[-red] <String>]
[[-white] <String>] [[-yellow] <String>] [[-Background] <String>] [[-black] <String>] [[-blue] <String>]
[[-brightBlack] <String>] [[-brightBlue] <String>] [[-brightCyan] <String>] [[-brightGreen] <String>]
[[-brightPurple] <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Add a new color scheme to profiles.json
PARAMETERS
-Background <String>
The background color.
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Foreground <String>
The foreground color.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
The name of the color scheme.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-black <String>
The black color (Ansi 0).
Required? false
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-blue <String>
The blue color (Ansi 4).
Required? false
Position? 4
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightBlack <String>
The brightBlack color (Ansi 8).
Required? false
Position? 5
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightBlue <String>
The brightBlue color (Ansi 12).
Required? false
Position? 6
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightCyan <String>
The brightCyan color (Ansi 14).
Required? false
Position? 7
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightGreen <String>
The brightGreen color (Ansi 10).
Required? false
Position? 8
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightPurple <String>
The brightPurple color (Ansi 13).
Required? false
Position? 9
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightRed <String>
The brightRed color (Ansi 9).
Required? false
Position? 10
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightWhite <String>
The brightWhite color (Ansi 15).
Required? false
Position? 11
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-brightYellow <String>
The brightYellow color (Ansi 11).
Required? false
Position? 12
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-cyan <String>
The cyan color (Ansi 6).
Required? false
Position? 13
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-green <String>
The green color (Ansi 2).
Required? false
Position? 14
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-purple <String>
The purple color (Ansi 5).
Required? false
Position? 15
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-red <String>
The red color (Ansi 1).
Required? false
Position? 16
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-white <String>
The white color (Ansi 7).
Required? false
Position? 17
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-yellow <String>
The yellow color (Ansi 3).
Required? false
Position? 18
Default value None
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
None
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> New-MSTerminalColorScheme -Name BrightBlue -blue "#0000ff"
Creates a new color scheme named BrightBlue that overrides the blue color of the default colors (the Campbell
scheme).
RELATED LINKS