In the last paragraph of my column "How To Debug a PowerShell Script," I mentioned that punctuation can be problematic in PowerShell strings. I often catch myself omitting apostrophes, for example, ...
Have you ever noticed that if you include a variable within a PowerShell Write-Host statement, that variable is evaluated, even if you include the reference to the variable within the quotation marks?