mark_chuman
Hot Shot
Hot Shot

Trying to filter on only certain permission Entities

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
mark_chuman
Hot Shot
Hot Shot

Doh!  Entity.Name!

View solution in original post

0 Kudos
1 Reply
mark_chuman
Hot Shot
Hot Shot

Doh!  Entity.Name!

0 Kudos