Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

$OSF not working

$
0
0

Hello I have tried the following on PowerShell v4 and v2 but it is not working for me

$Array = @(1,2,3)

$OSF = ", "

write-host $Array

I get

1
2
3

Instead of

1, 2, 3

 

Any ideas please

Thanks

AAnotherUser__


Viewing all articles
Browse latest Browse all 6937

Trending Articles