powershell switch 使用通配符

$a=ipconfig /all服务器

switch -Wildcard ($a)ide

{ip

    "*DNS 服务器*" {Write-Host $switch.current}it

}class

相关文章
相关标签/搜索