diff --git a/lexers/embedded/powershell.xml b/lexers/embedded/powershell.xml
index d7bd02aeb..8eaa5807a 100644
--- a/lexers/embedded/powershell.xml
+++ b/lexers/embedded/powershell.xml
@@ -119,6 +119,9 @@
+
+
+
@@ -139,6 +142,9 @@
+
+
+
diff --git a/lexers/testdata/powershell.actual b/lexers/testdata/powershell.actual
index 6e7a5e209..f4b3dad92 100644
--- a/lexers/testdata/powershell.actual
+++ b/lexers/testdata/powershell.actual
@@ -1 +1,5 @@
Get-ChildItem -Recurse -Force -ErrorAction SilentlyContinue -Name -Path C:\ *.txt
+$x = "Here is a $var inside a string"
+$x = @"
+Here is a $var inside a here-string
+"@
\ No newline at end of file
diff --git a/lexers/testdata/powershell.expected b/lexers/testdata/powershell.expected
index 0c6f29669..e513f1167 100644
--- a/lexers/testdata/powershell.expected
+++ b/lexers/testdata/powershell.expected
@@ -18,5 +18,20 @@
{"type":"Text","value":" "},
{"type":"Punctuation","value":"*."},
{"type":"Name","value":"txt"},
- {"type":"Text","value":"\n"}
+ {"type":"Text","value":"\n"},
+ {"type":"NameVariable","value":"$x"},
+ {"type":"Text","value":" "},
+ {"type":"Punctuation","value":"="},
+ {"type":"Text","value":" "},
+ {"type":"LiteralStringDouble","value":"\"Here is a "},
+ {"type":"NameVariable","value":"$var"},
+ {"type":"LiteralStringDouble","value":" inside a string\""},
+ {"type":"Text","value":"\n"},
+ {"type":"NameVariable","value":"$x"},
+ {"type":"Text","value":" "},
+ {"type":"Punctuation","value":"="},
+ {"type":"Text","value":" "},
+ {"type":"LiteralStringHeredoc","value":"@\"\nHere is a "},
+ {"type":"NameVariable","value":"$var"},
+ {"type":"LiteralStringHeredoc","value":" inside a here-string\n\"@"}
]