Skip to content

Add-TerminalIconsIconTheme

SYNOPSIS

Add a Terminal-Icons icon theme for the current user.

SYNTAX

Path (Default)

Add-TerminalIconsIconTheme [-Path] <String[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

LiteralPath

Add-TerminalIconsIconTheme [-LiteralPath] <String[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Add a Terminal-Icons icon theme for the current user. The theme data is stored in the user's profile

EXAMPLES

EXAMPLE 1

Add-Terminal-IconsIconTHeme -Path ./my_icon_theme.psd1

Add the icon theme contained in ./my_icon_theme.psd1.

EXAMPLE 2

Get-ChildItem ./path/to/iconthemes | Add-TerminalIconsIconTheme -Force

Add all icon themes contained in the folder ./path/to/iconthemes and add them, overwriting existing ones if needed.

PARAMETERS

-Path

The path to the Terminal-Icons icon theme file.

Type: System.String[]
Parameter Sets: Path
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: True

-LiteralPath

The literal path to the Terminal-Icons icon theme file.

Type: System.String[]
Parameter Sets: LiteralPath
Aliases: PSPath

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Force

Overwrite the icon theme if it already exists in the profile.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

You can pipe a string that contains a path to 'Add-TerminalIconsIconTheme'.

OUTPUTS

None.

NOTES

'Add-TerminalIconsIconTheme' will not overwrite an existing theme by default. Add the -Force switch to overwrite.

Add-TerminalIconsColorTheme

Back to top