摘要:
[array]::indexof($array,‘bbb’) 参考:https://devblogs.microsoft.com/scripting/find-the-index-number-of-a-value-in-a-powershell-array/ 阅读全文
摘要:
$groupnum=@('d1','d2') $var_mid="groupnum" + $groupnum[0]New-Variable -Name $var_mid -Value 3 Get-Variable $var_mid $groupnumd1值为3 阅读全文