Powershell pass a range as an array?

前端 未结 0 464
南方客
南方客 2021-01-15 03:07

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 =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题