Get-FabricKQLQueryset
Retrieves an KQLQueryset or a list of KQLQuerysets from a specified workspace in Microsoft Fabric.
Syntax
Get-FabricKQLQueryset [-WorkspaceId] <guid> [[-KQLQuerysetId] <guid>] [[-KQLQuerysetName] <string>]
[<CommonParameters>]Description
The Get-FabricKQLQueryset function sends a GET request to the Fabric API to retrieve KQLQueryset details for a given workspace. It can filter the results by KQLQuerysetName.
Examples
Example 1
Retrieves the "Development" KQLQueryset from workspace "12345".
Get-FabricKQLQueryset -WorkspaceId "12345" -KQLQuerysetName "Development"Example 2
Retrieves all KQLQuerysets in workspace "12345".
Get-FabricKQLQueryset -WorkspaceId "12345"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceId | guid | ✓Required | 0 | – | (Mandatory) The ID of the workspace to query KQLQuerysets. |
| -KQLQuerysetId | guid | 1 | – | (Optional) The ID of a specific KQLQueryset to retrieve. |
|
| -KQLQuerysetName | string | 2 | – | (Optional) The name of the specific KQLQueryset to retrieve. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch, Kamil Nowinski