Bit of a follow on from the discussions in WSManDsc, DscResource.Base and SqlServerDsc.
Any resource that uses DscResource.Base has functions from this module which uses Write-Verbose. Example is Compare-ResourcePropertyState which uses Write-Verbose, from class-based resources this is not required as the community base class outputs which parameters are not in the desired state.
If the aim is to keep verbose output limited, it may be good to understand and document the rules for library functions on when Verbose level or Debug level statements should be used.
Bit of a follow on from the discussions in
WSManDsc,DscResource.BaseandSqlServerDsc.Any resource that uses
DscResource.Basehas functions from this module which usesWrite-Verbose. Example isCompare-ResourcePropertyStatewhich usesWrite-Verbose, from class-based resources this is not required as the community base class outputs which parameters are not in the desired state.If the aim is to keep verbose output limited, it may be good to understand and document the rules for library functions on when Verbose level or Debug level statements should be used.