获取元素所在数组位置
[array]::indexof($array,‘bbb’)
参考:https://devblogs.microsoft.com/scripting/find-the-index-number-of-a-value-in-a-powershell-array/
[array]::indexof($array,‘bbb’)
参考:https://devblogs.microsoft.com/scripting/find-the-index-number-of-a-value-in-a-powershell-array/