Hi @Filip ,
just type the following inside your powershell:
$Host.UI.RawUI.BackgroundColor = 'Black'
You can change Black with all other colors like Green, Red, Blue,...
To change the colors of your letters for example to green, type the following:
$host.ui.RawUI.ForegroundColor ='Green'
To see the changes just clear your console window. These settings are temporary. If you want them to be persistent check, if you have already a profile file (Test-Path $profile). If you don't have a profile, you can create it using following command: New-Item -path $profile -type file -force
Then fill the file with some information like for example
$console = $host.ui.rawui
$console.backgroundcolor = "black"
$console.foregroundcolor = "white"
$colors = $host.privatedata
$colors.verbosebackgroundcolor = "Magenta"
$colors.verboseforegroundcolor = "Green"
$colors.warningbackgroundcolor = "Red"
$colors.warningforegroundcolor = "white"
$colors.ErrorBackgroundColor = "DarkCyan"
$colors.ErrorForegroundColor = "Yellow"
set-location C:\
clear-host
Best regards
Matthias