为什么这样:
$RegistryKeys = (Get-ChildItem
HKLM:\SYSTEM\CurrentControlSet\services\VMSMP\Parameters\NicList)
foreach ($subKey in $RegistryKeys) {$subKey.GetValue("FriendlyName")}
返回此(星号包围的文字是乱码字符):
Corp **j** LitwareInc Perimeter External **䑀** LitwareInc Perimeter Internal **䑀** LitwareInc Perimeter2 External LitwareInc Perimeter2 Internal