< Back

Import-Iterm2ColorScheme

Sat Jan 18, 2020 4:51 pm

NAME Import-Iterm2ColorScheme



SYNOPSIS

Imports an iterm2 color scheme file into MS Terminal.





SYNTAX

Import-Iterm2ColorScheme [-LiteralPath] <String[]> [-Name <Object>] [<CommonParameters>]



Import-Iterm2ColorScheme [-Path] <String[]> [-Name <Object>] [<CommonParameters>]





DESCRIPTION

Imports an iterm2 color scheme file into MS Terminal.





PARAMETERS

-LiteralPath <String[]>

Specifies a path to one or more locations. The value of LiteralPath is used exactly as it is typed. No

characters are interpreted as wildcards. If the path includes escape characters, enclose it in single

quotation marks. Single quotation marks tell PowerShell not to interpret any characters as escape sequences.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <Object>

The name of the color scheme to create in MS Terminal. If no name is specified, the base file name will be

used.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Path <String[]>

Specifies the path to the itermcolors file. Wildcard characters are permitted. The paths must be paths to

items, not to containers. For example, you must specify a path to one or more files, not a path to a directory.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

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

None







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Import-Iterm2ColorScheme -Path .\\file.itermcolors -Name ColorScheme



Imports the file .\\file.itermcolors into MS Terminal as a new color scheme named "ColorScheme"



RELATED LINKS