We're a place where coders share, stay up-to-date and grow their careers.
Certainly! bash refers to a particular type of shell, different from PowerShell. While I don't know how to reproduce the exact same output in PowerShell, a fair replacement is the command
bash
[enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -ForegroundColor $_}
Which will list all colors in your editor as so:
Certainly!
bash
refers to a particular type of shell, different from PowerShell. While I don't know how to reproduce the exact same output in PowerShell, a fair replacement is the commandWhich will list all colors in your editor as so: