Skip to content

Commit 8c9fd6c

Browse files
committed
Update UseCmdletCorrectly.md
1 parent 52c8315 commit 8c9fd6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RuleDocumentation/UseCmdletCorrectly.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ To fix a violation of this rule, please use mandatory parameters when calling cm
1414

1515
Wrong:
1616

17-
set-date
17+
Set-Date
1818

1919
Correct:
2020

21-
$t = get-date
22-
set-date -date $t
21+
$date = Get-Date
22+
Set-Date -Date $t

0 commit comments

Comments
 (0)