How do I set Windows PowerShell ISE default theme?
Whenever I change the theme in the PowerShell ISE options on Windows 10 to Light on Light it doesn't keep it when I restart, it goes back to the default Dark on Light. How can I set/force Light on Light to be my default?
(Also, setting the colors in a startup script causes it to flash to the default Dark on Light theme before it runs the script, but then the command line still has the original colors even though the rest of the console has the new colors.)
windows powershell colors color-theme powershell-ise
add a comment |
Whenever I change the theme in the PowerShell ISE options on Windows 10 to Light on Light it doesn't keep it when I restart, it goes back to the default Dark on Light. How can I set/force Light on Light to be my default?
(Also, setting the colors in a startup script causes it to flash to the default Dark on Light theme before it runs the script, but then the command line still has the original colors even though the rest of the console has the new colors.)
windows powershell colors color-theme powershell-ise
I've not seen this ever happen on any system where I or others I know / work with. It would be worth the effort to record this to show this real time. Yet, this comes off as environmental, something on your system, is hampering the setting from sticking. I have several theme loaded, my current is the Visual Studio 2013 Dark theme, and it sticks as expected.
– postanote
Dec 10 at 20:23
@postanote as a wild shot in the dark, is it possible some color setting from (regular) PowerShell overriding ISE's? I messed with colors over there before switching to ISE. If so, where would those be stored?
– CmdrShepardsPie
Dec 10 at 20:32
See my thoughts on what you can do to get back to normal and the try your theme again.
– postanote
Dec 10 at 20:54
add a comment |
Whenever I change the theme in the PowerShell ISE options on Windows 10 to Light on Light it doesn't keep it when I restart, it goes back to the default Dark on Light. How can I set/force Light on Light to be my default?
(Also, setting the colors in a startup script causes it to flash to the default Dark on Light theme before it runs the script, but then the command line still has the original colors even though the rest of the console has the new colors.)
windows powershell colors color-theme powershell-ise
Whenever I change the theme in the PowerShell ISE options on Windows 10 to Light on Light it doesn't keep it when I restart, it goes back to the default Dark on Light. How can I set/force Light on Light to be my default?
(Also, setting the colors in a startup script causes it to flash to the default Dark on Light theme before it runs the script, but then the command line still has the original colors even though the rest of the console has the new colors.)
windows powershell colors color-theme powershell-ise
windows powershell colors color-theme powershell-ise
asked Dec 10 at 18:04
CmdrShepardsPie
1062
1062
I've not seen this ever happen on any system where I or others I know / work with. It would be worth the effort to record this to show this real time. Yet, this comes off as environmental, something on your system, is hampering the setting from sticking. I have several theme loaded, my current is the Visual Studio 2013 Dark theme, and it sticks as expected.
– postanote
Dec 10 at 20:23
@postanote as a wild shot in the dark, is it possible some color setting from (regular) PowerShell overriding ISE's? I messed with colors over there before switching to ISE. If so, where would those be stored?
– CmdrShepardsPie
Dec 10 at 20:32
See my thoughts on what you can do to get back to normal and the try your theme again.
– postanote
Dec 10 at 20:54
add a comment |
I've not seen this ever happen on any system where I or others I know / work with. It would be worth the effort to record this to show this real time. Yet, this comes off as environmental, something on your system, is hampering the setting from sticking. I have several theme loaded, my current is the Visual Studio 2013 Dark theme, and it sticks as expected.
– postanote
Dec 10 at 20:23
@postanote as a wild shot in the dark, is it possible some color setting from (regular) PowerShell overriding ISE's? I messed with colors over there before switching to ISE. If so, where would those be stored?
– CmdrShepardsPie
Dec 10 at 20:32
See my thoughts on what you can do to get back to normal and the try your theme again.
– postanote
Dec 10 at 20:54
I've not seen this ever happen on any system where I or others I know / work with. It would be worth the effort to record this to show this real time. Yet, this comes off as environmental, something on your system, is hampering the setting from sticking. I have several theme loaded, my current is the Visual Studio 2013 Dark theme, and it sticks as expected.
– postanote
Dec 10 at 20:23
I've not seen this ever happen on any system where I or others I know / work with. It would be worth the effort to record this to show this real time. Yet, this comes off as environmental, something on your system, is hampering the setting from sticking. I have several theme loaded, my current is the Visual Studio 2013 Dark theme, and it sticks as expected.
– postanote
Dec 10 at 20:23
@postanote as a wild shot in the dark, is it possible some color setting from (regular) PowerShell overriding ISE's? I messed with colors over there before switching to ISE. If so, where would those be stored?
– CmdrShepardsPie
Dec 10 at 20:32
@postanote as a wild shot in the dark, is it possible some color setting from (regular) PowerShell overriding ISE's? I messed with colors over there before switching to ISE. If so, where would those be stored?
– CmdrShepardsPie
Dec 10 at 20:32
See my thoughts on what you can do to get back to normal and the try your theme again.
– postanote
Dec 10 at 20:54
See my thoughts on what you can do to get back to normal and the try your theme again.
– postanote
Dec 10 at 20:54
add a comment |
1 Answer
1
active
oldest
votes
The console host and ISE color control are different animals for different use cases really.
The console shown in the ISE is not the same as the normal stand alone PS console. It's really noting more than an output windows that allows for additional interactive use cases.
You can reset the consolehost colors back to the default using
In the consolehost use
[Console]::ResetColor()
Set-PSReadlineOption -ResetTokenColors
In the ISE options, just select restore default or run this command in the ISE,
$psISE.Options.RestoreDefaultTokenColors()
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382394%2fhow-do-i-set-windows-powershell-ise-default-theme%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The console host and ISE color control are different animals for different use cases really.
The console shown in the ISE is not the same as the normal stand alone PS console. It's really noting more than an output windows that allows for additional interactive use cases.
You can reset the consolehost colors back to the default using
In the consolehost use
[Console]::ResetColor()
Set-PSReadlineOption -ResetTokenColors
In the ISE options, just select restore default or run this command in the ISE,
$psISE.Options.RestoreDefaultTokenColors()
add a comment |
The console host and ISE color control are different animals for different use cases really.
The console shown in the ISE is not the same as the normal stand alone PS console. It's really noting more than an output windows that allows for additional interactive use cases.
You can reset the consolehost colors back to the default using
In the consolehost use
[Console]::ResetColor()
Set-PSReadlineOption -ResetTokenColors
In the ISE options, just select restore default or run this command in the ISE,
$psISE.Options.RestoreDefaultTokenColors()
add a comment |
The console host and ISE color control are different animals for different use cases really.
The console shown in the ISE is not the same as the normal stand alone PS console. It's really noting more than an output windows that allows for additional interactive use cases.
You can reset the consolehost colors back to the default using
In the consolehost use
[Console]::ResetColor()
Set-PSReadlineOption -ResetTokenColors
In the ISE options, just select restore default or run this command in the ISE,
$psISE.Options.RestoreDefaultTokenColors()
The console host and ISE color control are different animals for different use cases really.
The console shown in the ISE is not the same as the normal stand alone PS console. It's really noting more than an output windows that allows for additional interactive use cases.
You can reset the consolehost colors back to the default using
In the consolehost use
[Console]::ResetColor()
Set-PSReadlineOption -ResetTokenColors
In the ISE options, just select restore default or run this command in the ISE,
$psISE.Options.RestoreDefaultTokenColors()
answered Dec 10 at 20:54
postanote
90013
90013
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382394%2fhow-do-i-set-windows-powershell-ise-default-theme%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I've not seen this ever happen on any system where I or others I know / work with. It would be worth the effort to record this to show this real time. Yet, this comes off as environmental, something on your system, is hampering the setting from sticking. I have several theme loaded, my current is the Visual Studio 2013 Dark theme, and it sticks as expected.
– postanote
Dec 10 at 20:23
@postanote as a wild shot in the dark, is it possible some color setting from (regular) PowerShell overriding ISE's? I messed with colors over there before switching to ISE. If so, where would those be stored?
– CmdrShepardsPie
Dec 10 at 20:32
See my thoughts on what you can do to get back to normal and the try your theme again.
– postanote
Dec 10 at 20:54