< Back
Remove-DatabricksNotebook
Post
NAME Remove-DatabricksNotebook
SYNOPSIS
Removes a Databricks notebook or folder from the workspace
SYNTAX
Remove-DatabricksNotebook [[-BearerToken] <String>] [[-Region] <String>] [-Path] <String> [-Recursive]
[<CommonParameters>]
DESCRIPTION
Removes a Databricks notebook or folder from the workspace
PARAMETERS
-BearerToken <String>
Your Databricks Bearer token to authenticate to your workspace (see User Settings in Datatbricks WebUI)
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <String>
Azure Region - must match the URL of your Databricks workspace, example northeurope
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Absolute path - wildcards not accepted
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Recursive [<SwitchParameter>]
Switch defaults to $False, recurseivly delete everything in folder
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Simon D'Morias / Data Thirst Ltd
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-DatabricksNotebook -BearerToken $BearerToken -Region $Region -Path '/Shared/Bob/Test1' -Recursive
RELATED LINKS
SYNOPSIS
Removes a Databricks notebook or folder from the workspace
SYNTAX
Remove-DatabricksNotebook [[-BearerToken] <String>] [[-Region] <String>] [-Path] <String> [-Recursive]
[<CommonParameters>]
DESCRIPTION
Removes a Databricks notebook or folder from the workspace
PARAMETERS
-BearerToken <String>
Your Databricks Bearer token to authenticate to your workspace (see User Settings in Datatbricks WebUI)
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <String>
Azure Region - must match the URL of your Databricks workspace, example northeurope
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Absolute path - wildcards not accepted
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Recursive [<SwitchParameter>]
Switch defaults to $False, recurseivly delete everything in folder
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Simon D'Morias / Data Thirst Ltd
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-DatabricksNotebook -BearerToken $BearerToken -Region $Region -Path '/Shared/Bob/Test1' -Recursive
RELATED LINKS