3 ms·
I think @("value") is enough. I use [array]$Ary = "value"
by jmull 2y ago
I think @("value") is enough.
I use
[array]$Ary = "value"
- Arnavion 2y agoI haven't used PS in many years, but I do remember `@("value")` would still end up unwrapping the single-element array back into its element in some situations, and the only sure-fire way to get an array was `, "value"` or `@(, "value")`