< Back

Set-ISETheme

Wed Jan 15, 2020 7:53 am

NAME Set-ISETheme



SYNOPSIS

Applies ISE theme to current session





SYNTAX

Set-ISETheme -File <String> [<CommonParameters>]



Set-ISETheme -ThemeName <String> [<CommonParameters>]



Set-ISETheme -ThemeObject <Object> [<CommonParameters>]





DESCRIPTION

Applies ISE theme to current session





PARAMETERS

-File <String>

An ISE theme xml filename



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ThemeName <String>

The name of an ISE theme stored in the registry



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ThemeObject <Object>



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

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



NOTES





Part of the ISEColorThemeCmdlets.ps1 Script by Jeff Pollock

http://Lifeinpowerhsell.blogspot.com

http://gallery.technet.microsoft.com/IS ... s-24905f9e



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



PS C:\\>Get-FileName | Set-ISETheme



Gets the ISE theme information from the supplied xml file and assigns it to Theme











RELATED LINKS