mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-24 02:35:40 +02:00
Updated the manuals
This commit is contained in:
@@ -55,17 +55,16 @@ Script Content
|
||||
#>
|
||||
|
||||
try {
|
||||
$Colors = [Enum]::GetValues([ConsoleColor])
|
||||
$colors = [Enum]::GetValues([ConsoleColor])
|
||||
""
|
||||
"Color As Foreground As Background"
|
||||
"----- ------------- -------------"
|
||||
foreach($Color in $Colors) {
|
||||
$Color = "$Color "
|
||||
$Color = $Color.substring(0, 15)
|
||||
write-host -noNewline "$Color"
|
||||
write-host -noNewline -foregroundcolor $Color "$Color"
|
||||
write-host -noNewline -backgroundcolor $Color "$Color"
|
||||
write-host ""
|
||||
"COLOR FOREGROUND BACKGROUND"
|
||||
"----- ---------- ----------"
|
||||
foreach($color in $colors) {
|
||||
$color = "$color "
|
||||
$color = $color.substring(0, 15)
|
||||
Write-Host "$color" -noNewline
|
||||
Write-Host "$color" -foregroundColor $color -noNewline
|
||||
Write-Host "$color" -backgroundColor $color
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
@@ -74,4 +73,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:21)*
|
||||
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)*
|
||||
|
Reference in New Issue
Block a user