Get-MgGraph cmdlet has AdditionalProperties array. Then AdditionalProperties has further resourceProvisioningOptions.
So Get-MgGraph spits out all the groups. I would like to select only groups which has resourceProvisioingOptions equal to Team.
Below command gives the AdditionalProperties value only, and I don’t see the display names since it is expanding the property.
Get-MgGroup | Select-Object -ExpandProperty AdditionalProperties
Below command shows the value of resourceProvisioingOptions
(Get-MgGroup | Select-Object -ExpandProperty AdditionalProperties).resourceProvisioingOptions
Seeking some assistance on how to get DisplayNames for groups which has resourceProvisioingOptions equal to Team.