I have a variable $computers which outputs like :
write-host $computers
ComputerA ComputerB ComputerC
How can I output the variable with each text on a new line, i..e ?
write-host $computers
ComputerA
ComputerB
ComputerC
Thanks
Bill
I have a variable $computers which outputs like :
write-host $computers
ComputerA ComputerB ComputerC
How can I output the variable with each text on a new line, i..e ?
write-host $computers
ComputerA
ComputerB
ComputerC
Thanks
Bill