We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cedf3c0 commit b877479Copy full SHA for b877479
1 file changed
source/Public/Capacity/Get-FabricCapacities.ps1
@@ -64,11 +64,11 @@ function Get-FabricCapacities {
64
# For each resource group, get all resources of type "Microsoft.Fabric/capacities"
65
foreach ($r in $rgs) {
66
# Get all resources of type "Microsoft.Fabric/capacities" and add them to the results array
67
- $res += Get-AzResource -ResourceGroupName $r.ResourceGroupName -resourcetype "Microsoft.Fabric/capacities" -ErrorAction SilentlyContinue
+ $res += Get-AzResource -ResourceGroupName $r.ResourceGroupName -ResourceType "Microsoft.Fabric/capacities" -ErrorAction SilentlyContinue
68
}
69
70
71
72
# Return the results
73
return $res
74
-}
+}
0 commit comments