Write-Message is a wrapper around Write-Host allowing to display multiple colors of text on one line, and will write the same message to an audit log file. Additional formatting includes line message indentation, adding a blank line before the message, and adding a blank line after the message.

Installation Options

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

Install-Module -Name Dz.Write-Message -RequiredVersion 1.0.7

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

Install-PSResource -Name Dz.Write-Message -Version 1.0.7

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



(c) NestLink. All rights reserved.

Package Details


  • DecimalZero


Write-Message Write-Host Color PowerShell Console Audit Logs Logging Windows Linux MacOS




This module has no dependencies.

Release Notes


Version History

Version Downloads Last updated
1.0.11 453 4/5/2023
1.0.10 7 4/5/2023
1.0.9 43 9/29/2022
1.0.8 11 9/27/2022
1.0.7 (current version) 88 7/20/2022
1.0.6 12 7/20/2022
1.0.5 13 7/20/2022
1.0.4 12 7/20/2022
1.0.3 15 7/19/2022
1.0.2 18 7/15/2022
Show more