FabricTools v0.33.0 Public Preview

Get-FabricMirroredWarehouse

Retrieves an MirroredWarehouse or a list of MirroredWarehouses from a specified workspace in Microsoft Fabric.

Syntax

Get-FabricMirroredWarehouse [-WorkspaceId] <guid> [[-MirroredWarehouseId] <guid>]
 [[-MirroredWarehouseName] <string>] [<CommonParameters>]

Description

The Get-FabricMirroredWarehouse function sends a GET request to the Fabric API to retrieve MirroredWarehouse details for a given workspace. It can filter the results by MirroredWarehouseName.

Examples

Example 1

Retrieves the "Development" MirroredWarehouse from workspace "12345".

Get-FabricMirroredWarehouse -WorkspaceId "12345" -MirroredWarehouseName "Development"

Example 2

Retrieves all MirroredWarehouses in workspace "12345".

Get-FabricMirroredWarehouse -WorkspaceId "12345"

Parameters

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

(Mandatory) The ID of the workspace to query MirroredWarehouses.

-MirroredWarehouseId guid 1 –

(Optional) The ID of a specific MirroredWarehouse to retrieve.

-MirroredWarehouseName string 2 –

(Optional) The name of the specific MirroredWarehouse to retrieve.

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

Notes

  • Calls Confirm-TokenState to ensure token validity before making the API request.

Author: Tiago Balabuch, Kamil Nowinski