Functions/Export-WorkspaceNotebooks.ps1


Function Export-WorkspaceNotebooks {
    [cmdletbinding()]
    Param(
        [string] $region,
        [string] $localOutputPath,
        [string] $exportPath,
        [string] $bearerToken
    )


    Write-Host "Downloading the folder $exportPath to $localOutputPath"

    Export-DatabricksFolder -BearerToken $BearerToken -Region $Region -LocalOutputPath $localOutputPath -ExportPath $exportPath -Verbose
}