# Add readable status output to scripts

Add readable status output to scripts on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWriteColor

Write-Color is a wrapper around Write-Host allowing you to create nice looking scripts, with colorized output.

[View on GitHub](https://github.com/EvotecIT/PSWriteColor) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteColor/releases/tag/v1.0.3) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteColor)

Stars**199**

Forks**29**

Open issues**4**

PowerShell Gallery downloads**1132669**

Release**v1.0.7**

Language: PowerShell Updated: 2026-10-06

Curated Examples

Use PSWriteColor to make status messages, menus, and success feedback easier to scan.

This example is a good first stop if you want to replace plain `Write-Host` output with something operators can scan quickly.

It comes from the source example at `Examples/Write-Color-Examples.ps1`.

## When to use this pattern

- You want progress and status messages to stand out in the console.
- Your scripts present simple operator choices.
- You need readable output without building a full TUI experience.

## Example

```powershell
Import-Module PSWriteColor

Write-Color "[i] ", "Sending email...." -Color White, White -NoNewLine
if ($true) {
    Write-Color -Text "OK" -Color Green
}

Write-Color "1. ", "Option 1" -Color Yellow, Green
Write-Color "2. ", "Option 2" -Color Yellow, Green
Write-Color "9. ", "Press 9 to exit" -Color Yellow, Gray -LinesBefore 1
```

## What this demonstrates

- mixing plain labels with highlighted status text
- showing success feedback inline
- building lightweight operator menus without a complex UI layer

## Source

- [Write-Color-Examples.ps1](https://github.com/EvotecIT/PSWriteColor/blob/master/Examples/Write-Color-Examples.ps1)

<!-- PowerForge markdown artifact sha256:300F034DB06A80342887C280C46CE9EB7044225EA465904B6A0B280974B929F9 -->
