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