description | ms.date | ms.topic | title |
---|---|---|---|
Reserved Cmdlet Chars |
06/28/2023 |
reference |
ReservedCmdletChar |
Severity Level: Error
You cannot use following reserved characters in a function or cmdlet name as these can cause parsing or runtime errors.
Reserved Characters include: #,(){}[]&/\\$^;:\"'<>|?@`*%+=~
Remove reserved characters from names.
function MyFunction[1]
{...}
function MyFunction
{...}