$ 0 0 Try something like this Get-VM|SelectName,@{N="vCenter";E={$_.Uid.Split(“:”)[0].Split(“@”)[1]}}