I\'m trying to pass a range as an array so I can return an array in PowerShell:
function iterHostsToArray($arr, $str) { $hostz = @() $arr | % { $hostz =