PSWriteMessage

2026.8.21

Write-Message is a drop-in replacement for the builtin Write-* cmdlets: it timestamps every message, formats it by type (Debug, Verbose, Info, Success, Warning, Error) with ANSI color and a type prefix, and can optionally tee the message to a log file.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSWriteMessage -RequiredVersion 2026.8.21

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSWriteMessage -Version 2026.8.21

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2024-2026 William Quinn. Licensed under the MIT License.

Package Details

Author(s)

  • William Quinn

Tags

Logging Console Write-Host ANSI PSStyle

Functions

Write-Message

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
2026.8.26 5 8/27/2026
2026.8.21 (current version) 5 8/26/2026