ALOps.ExternalDeployer.psm1
Get-Item $PSScriptRoot | Get-ChildItem -Recurse -Filter '*.ps1' | Where-Object FullName -NotLike '*Tests.ps1' | Where-Object FullName -NotLike '*_config.ps1' | Where-Object FullName -NotLike '*_dependencies.ps1' | Where-Object Name -NotLike '_*.ps1' | Sort-Object Name | ForEach-Object { Write-Verbose "Loading $($_.Name)" . $_.fullname } if (Test-Path $PSScriptRoot\_config.ps1) { . $PSScriptRoot\_config.ps1 } Export-ModuleMember -Function * -Variable * if (Test-Path $PSScriptRoot\_dependencies.ps1) { . $PSScriptRoot\_dependencies.ps1 } Write-Host "Use [Install-ALOpsExternalDeployer] to install [ALOps External Deployer] service with default." -ForegroundColor Green Write-Host " * When installing within a Docker-Container, the default installation can be done." Write-Host "" Write-Host " * If the BC ServerInstance is not 'BC', you can specify the correct instance" Write-Host " - Install-ALOpsExternalDeployer -ServerInstance BC200" Write-Host "" Write-Host " * When installing for multiple ServerInstances, specify a different port for each instance:" Write-Host " - Install-ALOpsExternalDeployer -ServerInstance BC200 -ListenPort 7000" Write-Host " - Install-ALOpsExternalDeployer -ServerInstance BC210 -ListenPort 7001" Write-Host "" |