Azure / Azure/azure-powershell
What's the usage of "-ExpandProperties" parameter for Get-AzResource cmdlet?
Open
act-identity-squad
ARM
customer-reported
question
Service Attention
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
I'm using Get-AzResource cmdlet with "-ExpandProperties" parameter, like below:
`Get-AzResource -ODataQuery "`$filter=resourcetype eq 'Microsoft.Web/sites'" -ExpandProperties`
But the result is same if I removed -ExpandProperties parameter, I wonder what's the usage of -ExpandProperties ? I read this [doc](https://docs.microsoft.com/en-us/powershell/module/az.resources/get-azresource?view=azps-3.5.0#parameters
), it says "When specified, expands the properties of the resource.". Not sure why the same result with/without this parameter.
Contributor guide
Assessment
This issue has not been assessed yet.