How do I set Windows PowerShell ISE default theme?












0














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.)










share|improve this question






















  • 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
















0














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.)










share|improve this question






















  • 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














0












0








0


1





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.)










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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


















  • 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










1 Answer
1






active

oldest

votes


















0














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()





share|improve this answer





















    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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()





    share|improve this answer


























      0














      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()





      share|improve this answer
























        0












        0








        0






        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()





        share|improve this answer












        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()






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 10 at 20:54









        postanote

        90013




        90013






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How do I know what Microsoft account the skydrive app is syncing to?

            When does type information flow backwards in C++?

            Grease: Live!