PowerShell CheatSheet – Special Characters

When surrounded by single quotes, PowerShell accepts these characters as written.

The beginning (or end) of quoted text.

The beginning of a comment.

The beginning of a variable.

Reserved for future use.

(, )
Parentheses used for sub-expressions.

Statement separator.

{ }
Script block.

Pipeline separator.

Escape character.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top