Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 427 Bytes

ReservedCmdletChar.md

File metadata and controls

29 lines (18 loc) · 427 Bytes

ReservedCmdletChar

Severity Level: Error

Description

You cannot use following reserved characters in a function or cmdlet name as these can cause parsing or runtime errors.

Reserved Characters include: #,(){}[]&/\\$^;:\"'<>|?@*%+=~`

How

Remove reserved characters from names.

Example

Wrong

function MyFunction[1]
{...}

Correct

function MyFunction
{...}