< Back
Import-ISEThemeFile
Post
NAME Import-ISEThemeFile
SYNOPSIS
Imports an ISE theme xml file into the registry
SYNTAX
Import-ISEThemeFile [-FileName] <Object> [-ApplyTheme] [<CommonParameters>]
DESCRIPTION
Imports an ISE theme xml file into the registry and applies it
to the current session if ApplyTheme is passed
PARAMETERS
-FileName <Object>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ApplyTheme [<SwitchParameter>]
Switch for applying the theme after importing it.
Required? false
Position? named
Default value False
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
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:\\>Import-ISEThemeFile "C:\\ISEthemes\\.StorableColorTheme.ps1xml"
Imports ISE theme to the registry
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-FileName | Import-ISEThemeFile -ApplyTheme
Imports piped in ISE theme to the registry and applies the theme to the current session
RELATED LINKS
SYNOPSIS
Imports an ISE theme xml file into the registry
SYNTAX
Import-ISEThemeFile [-FileName] <Object> [-ApplyTheme] [<CommonParameters>]
DESCRIPTION
Imports an ISE theme xml file into the registry and applies it
to the current session if ApplyTheme is passed
PARAMETERS
-FileName <Object>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ApplyTheme [<SwitchParameter>]
Switch for applying the theme after importing it.
Required? false
Position? named
Default value False
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
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:\\>Import-ISEThemeFile "C:\\ISEthemes\\.StorableColorTheme.ps1xml"
Imports ISE theme to the registry
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-FileName | Import-ISEThemeFile -ApplyTheme
Imports piped in ISE theme to the registry and applies the theme to the current session
RELATED LINKS