System.ConcoleColor].GetEnumValues() | ForEach-Object { Write-host $_ -ForegroundColor $_ }
Also, you can find some great stuff here from the ScriptingGuy in Use .NET Classes to Configure the Windows PowerShell Console.
Azure and PowerShell goodness!
System.ConcoleColor].GetEnumValues() | ForEach-Object { Write-host $_ -ForegroundColor $_ }
Also, you can find some great stuff here from the ScriptingGuy in Use .NET Classes to Configure the Windows PowerShell Console.