< Back

Add-DatabricksDBFSFolder

Sat Jan 11, 2020 9:45 am

NAME Add-DatabricksDBFSFolder



SYNOPSIS

MKDir in DBFS





SYNTAX

Add-DatabricksDBFSFolder [[-BearerToken] <String>] [[-Region] <String>] [-FolderPath] <String> [<CommonParameters>]





DESCRIPTION

Create a new folder in DBFS. Will do nothing if it already exists.





PARAMETERS

-BearerToken <String>

Your Databricks Bearer token to authenticate to your workspace (see User Settings in Databricks 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



-FolderPath <String>

Folder path to create. Must be from root so starts with /.

Will create full path if parent does not exist.



Required? true

Position? 3

Default value

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 --------------------------



C:\\PS>Add-DatabricksLibrary -BearerToken $BearerToken -Region $Region -FolderPath /test



Creates a folder called "test" off root.











RELATED LINKS