Universal.psm1
Import-Module "$PSScriptRoot\Universal.Cmdlets.dll" [UniversalAutomation.AssemblyResolver]::Bind() function Start-UniversalServer { param( [Parameter()] [int]$Port = 5001, [Parameter()] [string]$RepositoryPath = "", [Parameter()] [string]$ConnectionString = "" ) $Env:Kestrel_Endpoints_Http_Url = "http://localhost:$Port" $Env:Data_RepositoryPath = $RepositoryPath $Env:Data_ConnectionString = $ConnectionString & "$PSScriptRoot\Universal.Server.exe" } New-Alias -Name 'Start-UAServer' -Value 'Start-UniversalServer' New-Alias -Name 'Receive-UAJob' -Value 'Get-UAJobPipelineOutput' |