| description | Use verbose message in DSC resource |
|---|---|
| ms.custom | PSSA v1.21.0 |
| ms.date | 06/28/2023 |
| ms.topic | reference |
| title | DSCUseVerboseMessageInDSCResource |
Severity Level: Information
Best practice recommends that additional user information is provided within commands, functions and
scripts using Write-Verbose.
Make use of the Write-Verbose command.
Function Test-Function
{
[CmdletBinding()]
Param()
...
}Function Test-Function
{
[CmdletBinding()]
Param()
Write-Verbose 'Verbose output'
...
}