Gothca...lesson learned but how come when I try to sort by vCenter it doesn't sort?
vCenter = $Datacenter.Uid.Split("@")[1].Split(":")[0] | Sort-Object -Property Name
Gothca...lesson learned but how come when I try to sort by vCenter it doesn't sort?
vCenter = $Datacenter.Uid.Split("@")[1].Split(":")[0] | Sort-Object -Property Name