Skip to content

Latest commit

 

History

History
152 lines (116 loc) · 3.01 KB

File metadata and controls

152 lines (116 loc) · 3.01 KB
document type cmdlet
external help file FabricTools-Help.xml
HelpUri
Locale en-US
Module Name FabricTools
ms.date 04/08/2026
PlatyPS schema version 2024-05-01
title Remove-FabricNotebook

Remove-FabricNotebook

SYNOPSIS

Deletes an Notebook from a specified workspace in Microsoft Fabric.

SYNTAX

__AllParameterSets

Remove-FabricNotebook [-WorkspaceId] <guid> [-NotebookId] <guid> [-WhatIf] [-Confirm]
 [<CommonParameters>]

ALIASES

DESCRIPTION

The Remove-FabricNotebook function sends a DELETE request to the Fabric API to remove a specified Notebook from a given workspace.

EXAMPLES

EXAMPLE 1

Deletes the Notebook with ID "67890" from workspace "12345".

Remove-FabricNotebook -WorkspaceId "12345" -NotebookId "67890"

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-NotebookId

(Mandatory) The ID of the Notebook to be deleted.

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

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-WorkspaceId

(Mandatory) The ID of the workspace containing the Notebook to delete.

Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  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

  • Requires $FabricConfig global configuration, including BaseUrl and FabricHeaders.
  • Validates token expiration before making the API request.

Author: Tiago Balabuch, Kamil Nowinski

RELATED LINKS

{{ Fill in the related links here }}