FabricTools v0.33.0 Public Preview

Get-FabricCapacityWorkload

Retrieves the workloads for a specific capacity.

Syntax

Get-FabricCapacityWorkload [-CapacityId] <guid> [<CommonParameters>]

Description

The Get-FabricCapacityWorkload function retrieves the workloads for a specific capacity. It supports multiple aliases for flexibility.

Examples

Example 1

This example retrieves the workloads for a specific capacity given the capacity ID and authentication token.

Get-FabricCapacityWorkload -capacityID "your-capacity-id"

Parameters

NameTypeReq.Pos.PipelineDescription
-CapacityId guid ✓Required 0 –

The ID of the capacity. This is a mandatory parameter.

This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.

Notes

The function retrieves the PowerBI access token and makes a GET request to the PowerBI API to retrieve the workloads for the specified capacity. It then returns the 'value' property of the response, which contains the workloads.

Author: Ioana Bouariu