Generic filters
Exact matches only
Filter by Custom Post Type

Complete Guide to PowerShell Punctuation

Quick as you can, can you explain what each of these different parentheses-, brace-, and bracket-laden expressions does?

(1,2,3 -join '*')
(8 + 4)/2
{param($color="red"); "color=$color"}

When you're reading someone else's PowerShell code, you will come across many of these constructs, and more. And you know how challenging it can be to search for punctuation on the web ( not withstanding) !

That is why I put together a reference chart containing all of PowerShell's symbology on one page. making it much easier when you need to look up a PowerShell symbol as you read code--or to browse for the right construct when you are writing code.

PowerShell Punctuation wall chart

Download the Complete Guide to PowerShell Punctuation wallchart from here.

Recommend0 recommendationsPublished in PowerShell for Admins, PowerShell for Developers, Tips and Tricks, Training

  1. Thanks a lot!

  2. Thanks!

Skip to toolbar