String value getting wrapped in quotes

Product: PowerShell Universal
Version: 4.1.0

Creating a string parameter wraps the values in the array in double quotes (").
For example: [Parameter()][string]$arr = @(‘one’,‘two’)


instead of


Hey. I suspect no one has answered this post because it’s a little too short in detail. I think you’re going to have to provide more context here if you want people to help out.
At first glance, this doesnt seem psu related.

If you’re still having issues you might want to provide further details and I’m sure people will assist where they can:

What command are you using? (is it a PSU command?)

What’s the deal with that square symbol in your post?
Was that intended?

What are you actually trying to do? Can you provide more context what it is you’re trying to achieve and how the problem is stopping you from doing that thing.
Further details on the function you’re using/building etc or just a broader view of your script.

Environment details… where are you running your code, what editor are you using etc