I tried changing my Powershell colors with the PS-ReadLineOption -colors command, which works fine except that when I close Powershell and restart it everything is set to default again.
Is there a way to keep those changes?
I tried changing my Powershell colors with the PS-ReadLineOption -colors command, which works fine except that when I close Powershell and restart it everything is set to default again.
Is there a way to keep those changes?
I found a solution myself. It seems that you can't save the color settings but instead you can create a powershell profile script and set the colors there. The script is executed when you open up a new powershell.
here's an article about those profiles: https://www.gsx.com/blog/bid/81096/enhance-your-powershell-experience-by-automatically-loading-scripts