Skip to content

Commit ba4ad2f

Browse files
committed
Update AvoidAlias.md
Update the help file
1 parent a72ce70 commit ba4ad2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

RuleDocumentation/AvoidAlias.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
##Description
44

5+
An alias is an alternate name or nickname for a cmdlet or for a command element, such as a function, script, file, or executable file. But when writing scripts that will potentially need to be maintained over time, either by the original author or another Windows PowerShell scripter, please consider using full cmdlet name instead of alias. Aliases can introduce these problems, readability, understandability and availability.
6+
7+
**Severity Level: Warning**
8+
59
##Example
610

7-
##How to Fix
11+
iex "I want to use alias"
12+
13+
cls
14+
15+
##How to Fix
16+
Please consider using full cmdlet name instead of alias.

0 commit comments

Comments
 (0)