set powershell and cmd color easily

Set-PSReadlineOption -TokenKind Command -ForegroundColor Black
 
 The available color choices are as follows: 

  • Black
  • DarkBlue
  • DarkGreen
  • DarkCyan
  • DarkRed
  • DarkMagent
  • DarkYellow
  • Gray
  • DarkGray
  • Blue
  • Green
  • Cyan
  • Red
  • Magenta
  • Yellow
  • White
make it permanent
$echo $profile
If this file doesn't exist, you can create it with:
New-item type file force $profile

To see the current settings in your profile, use:
Get-PSReadlineOption



Resetting the PowerShell console colors to their defaults can be done with the following command:
Set-PSReadlineOption -ResetTokenColors 

for auto color config
$set-executionpolicy remotesigned -s cu
$iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
$scoop help
 
concfg is a utility to import and export Windows console settings like fonts and colors.
after installing Scoop, you can install concfg with:
$ scoop install concfg

remove reg to make permanent change to console 
 

concfg import solarized
for solarized theme 
 
help by $concfg help
$ concfg  presets 

$concfg import defaults 
to reset to default 
the repo is here https://github.com/lukesampson/concfg 


 
 
 

 

.net framework offline (netfx3) enable

Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:J:\sources\sxs /LimitAccess