< Back

Get-DatabricksDBFSFile

Sat Jan 11, 2020 9:54 am

NAME Get-DatabricksDBFSFile



SYNOPSIS

Get a listing of files and folders within DBFS





SYNTAX

Get-DatabricksDBFSFile [[-BearerToken] <String>] [[-Region] <String>] [-DBFSFile] <String> [-TargetFile] <String>

[<CommonParameters>]





DESCRIPTION

Get a listing of files and folders within DBFS





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



-DBFSFile <String>

The Databricks DBFS file to download



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TargetFile <String>

Local file to download to



Required? true

Position? 4

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



PS C:\\>Get-DatabricksDBFSFile -BearerToken $BearerToken -Region $Region -DBFSFile /test/config.txt -TargetFile

./output/config.txt















RELATED LINKS