Anyone have an idea around why this does not return results
Get-VIPermission -Entity (get-datacenter $SourceDatacenter) | Where-Object{$_.Entity -like "value"}
When this returns results that contain Entity values that match the value I am trying to filter on:
Get-VIPermission -Entity (get-datacenter $SourceDatacenter) | select Entity
Doh! Entity.Name!
Doh! Entity.Name!