Skip to content

Commit bbd525f

Browse files
committed
Update ProvideVerboseMessage.md
1 parent 38eaf92 commit bbd525f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

RuleDocumentation/ProvideVerboseMessage.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,23 @@ Checks that Write-Verbose is called at least once in every cmdlet or script. Thi
1111
Please consider adding Write-Verbose in each cmdlet.
1212

1313
##Example
14+
Correct
15+
```
16+
Function TestFunction1
17+
{
18+
[cmdletbinding()]
1419
20+
Param()
21+
22+
Write-Verbose "Verbose output"
23+
24+
}
25+
26+
Function TestFunction2
27+
{
28+
[cmdletbinding()]
29+
30+
Param()
31+
Write-Verbose "Verbose output"
32+
}
33+
```

0 commit comments

Comments
 (0)