How to get the array as input using Powershell To read an array into Read-Host, you would need to put it in a loop because anything entered into Read-Host will be interpreted as a string.

seen from India
seen from United States

seen from Belgium
seen from United States

seen from United States
seen from Iraq
seen from United States
seen from China
seen from United States

seen from United States

seen from Belgium

seen from United States
seen from United States
seen from United States

seen from Malaysia
seen from Germany

seen from United States

seen from United States
seen from Germany
seen from India
How to get the array as input using Powershell To read an array into Read-Host, you would need to put it in a loop because anything entered into Read-Host will be interpreted as a string.