DeploymentModule.psm1
$ModuleCmdlets = Get-ChildItem $PSScriptRoot\Functions\*.ps1 -ErrorAction SilentlyContinue foreach ($ModuleCmdlet in $ModuleCmdlets) { try { . $ModuleCmdlet.FullName } catch { Write-Warning -Message "Nije importovana funkcija $($ModuleCmdlet.FullName): $_" } } |