Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MattHodge/87d36cb92f98d8bec927 to your computer and use it in GitHub Desktop.
Save MattHodge/87d36cb92f98d8bec927 to your computer and use it in GitHub Desktop.
Description for 02_Blog_PSStringFormating_EscapingDollarSign.ps1
# Escaping the dollar sign using a back-tick
$myItem = 'Beer'
$myString = "The price of a $myItem is `$6.00"
Write-Output $myString
@MattHodge
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment