UseVerboseMessageInDSCResource
Severity Level: Information
Description
Best practice recommends that additional user information is provided within commands, functions and
scripts using Write-Verbose
.
How
Make use of the Write-Verbose
command.
Example
Wrong
Function Test-Function
{
[CmdletBinding()]
Param()
...
}
Correct
Function Test-Function
{
[CmdletBinding()]
Param()
Write-Verbose 'Verbose output'
...
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for