我想拆分以下命令的输出:
PS C:\Windows\system32> $array = get-vm | Select-Object
@{Name="VMName";Expression=$_.name}},
@{Name='VirtualNetwork';e={ $_.VirtualNetworkAdapters | Foreach-Object{
$_.VirtualNetwork}}},
@{Name='PhysicalMACAddress';e={$_.VirtualNetworkAdapters| Foreach-Object{
$_.physicaladdress}}}
谁的输出就像
对于这样的输出,有人可以帮忙吗?