Not sure what this is an cant find it on the internet
$myString = @"
string
"@
$myRegularString = "string"
write-output $myString.getType() # outputs System.String
write-output $myRegularString.getType() # outputs System.String
I encountered the latter when someone converted the text of a string to a .pbk file. They originally said there was a problem converting it to utf8 but when I imported the .pbk properties from a text using get-content $myString -encoding utf8 file it was fine
So whats the difference? Is one fancier?