Write-host (Alias: write)
Example for foreground color and background color:
| Write-host “text” -ForegroundColor red -Background Color white |
- Using foreground and background will break a variable writing stored
Powershell has a built in color scheme
| Write-warning (yellow on black) |
| Write-error (red on black) |
testest test