VMware Cloud Community
mark_chuman
Hot Shot
Hot Shot
Jump to solution

Trying to filter on only certain permission Entities

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

Reply
0 Kudos
1 Solution

Accepted Solutions
mark_chuman
Hot Shot
Hot Shot
Jump to solution

Doh!  Entity.Name!

View solution in original post

Reply
0 Kudos
1 Reply
mark_chuman
Hot Shot
Hot Shot
Jump to solution

Doh!  Entity.Name!

Reply
0 Kudos