Skip to content

Commit d629025

Browse files
committed
Update AvoidAlias.md
Modify to have cmdlet name and parameters be Pascal casing.
1 parent 1c0dfc2 commit d629025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RuleDocumentation/AvoidAlias.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Please consider using full cmdlet name instead of alias.
1212

1313
##Example
1414

15-
Wrong: gps | where-object {$_.WorkingSet -gt 20000000}
15+
Wrong: gps | Where-Object {$_.WorkingSet -gt 20000000}
1616

17-
Correct: get-process | where-object {$_.WorkingSet -gt 20000000}
17+
Correct: Get-Process | Where-Bbject {$_.WorkingSet -gt 20000000}

0 commit comments

Comments
 (0)