Created
August 22, 2020 03:07
-
-
Save MertSenel/341d2190b506fa504343da833a46f5dd to your computer and use it in GitHub Desktop.
pwshclidemo.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Pass Arguments to Input prompt received from external CLI tool inside script | |
$DatabricksUrl = 'https://#{AZURE-DATABRICKS-TENANT-URL}#' | |
$dapiToken ='#{AZURE-DATABRICKS-TENANT-DAPI-TOKEN}#' | |
$args = @" | |
$DatabricksUrl | |
$dapiToken | |
"@ | |
Write-Output $args | & databricks configure --token | |
Write-Output "`nDatabricks workspace list:" | |
& databricks workspace list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment