adb.cicd.tools.psm1
#Get Functions and Internal function definition files. $Functions = @( Get-ChildItem -Path $PSScriptRoot\Functions\*.ps1 -ErrorAction SilentlyContinue ) $Internal = @( Get-ChildItem -Path $PSScriptRoot\Functions\Internal\*.ps1 -ErrorAction SilentlyContinue ) #Dot source the files Foreach ($import in @($Functions + $Internal)) { Try { . $import.fullname } Catch { Write-Error -Message "Failed to import function $($import.fullname): $_" } } # Ensure-Module -moduleName "azure.databricks.cicd.tools" -minVersion "2.1.2915" # Ensure-Module -moduleName "Az.DataLakeStore" -minVersion "1.2.8" # Ensure-Module -moduleName "Az.Accounts" -minVersion "1.9.3" |