Skip to content

Latest commit

 

History

History
97 lines (67 loc) · 2.36 KB

File metadata and controls

97 lines (67 loc) · 2.36 KB
document type cmdlet
external help file FabricTools-Help.xml
HelpUri
Locale en-US
Module Name FabricTools
ms.date 04/01/2026
PlatyPS schema version 2024-05-01
title Get-FabricCapacities

Get-FabricCapacities

SYNOPSIS

This function retrieves all resources of type "Microsoft.Fabric/capacities" from all resource groups in a given subscription or all subscriptions if no subscription ID is provided.

SYNTAX

__AllParameterSets

Get-FabricCapacities [[-subscriptionID] <guid>] [<CommonParameters>]

ALIASES

DESCRIPTION

The Get-FabricCapacities function is used to retrieve all resources of type "Microsoft.Fabric/capacities" from all resource groups in a given subscription or all subscriptions if no subscription ID is provided. It uses the Az module to interact with Azure.

EXAMPLES

EXAMPLE 1

This command retrieves all resources of type "Microsoft.Fabric/capacities" from all resource groups in the subscription with the ID "12345678-1234-1234-1234-123456789012". powershell

Get-FabricCapacities -subscriptionID "12345678-1234-1234-1234-123456789012"

EXAMPLE 2

This command retrieves all resources of type "Microsoft.Fabric/capacities" from all resource groups in all subscriptions. powershell

Get-FabricCapacities

PARAMETERS

-subscriptionID

An optional parameter that specifies the subscription ID. If this parameter is not provided, the function will retrieve resources from all subscriptions.

Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Author: Ioana Bouariu Imported into FabricTools April 2025 Alias: Get-AllFabCapacities

Define aliases for the function for flexibility.

RELATED LINKS

{{ Fill in the related links here }}