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 Canada

seen from United Kingdom
seen from China

seen from United States
seen from United Kingdom
seen from China
seen from Albania

seen from Brazil
seen from Russia

seen from Canada
seen from Venezuela
seen from United States
seen from Germany
seen from United Kingdom

seen from France
seen from Poland

seen from United States

seen from Canada
seen from France

seen from Canada
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.