Box.psm1
$scripts = Get-ChildItem -Path $PSScriptRoot\*.ps1 -ErrorAction SilentlyContinue Foreach ($script in @($scripts)) { Try { . $script.fullname } Catch { Write-Error -Message "Failed to import function $($script.fullname): $_" } } Export-ModuleMember -Function 'New-AzureVM', 'Start-Code', 'New-Hetzner', 'Remove-Hetzner', 'Connect-Isard', 'New-Isard', 'Connect-VBox', 'Get-VBox', 'New-VBox', 'Remove-VBox', 'Start-VBox', 'Stop-VBox' |