What is the @" "@ notation in powershell

Welcome Forums General PowerShell Q&A What is the @" "@ notation in powershell

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 4 months ago.

  • Author
    Posts
  • #48977

    Participant
    Points: 0
    Rank: Member

    I've seen this at sign and open close quote notation in a couple of scripts but I don't understand it's function. I know an @{} creates an associative array. Is this the same thing just using quotation marks instead of brackets?

  • #48981

    Participant
    Points: 0
    Rank: Member

    Herestring for specifying multiline strings: https://technet.microsoft.com/en-us/library/ee692792.aspx

  • #48984

    Participant
    Points: 0
    Rank: Member

    Thank you!

The topic ‘What is the @" "@ notation in powershell’ is closed to new replies.