Containers/New-Container.ps1
function New-Container { Param( [Parameter(Mandatory=$false)] [string]$Path = (Get-Location), [Parameter(Mandatory=$false)] [string]$ContainerName = (Split-Path $Path -Leaf) ) Set-EnvironmentKeyValue -SourcePath $Path -KeyName 'user' -KeyValue 'admin' Set-EnvironmentKeyValue -SourcePath $Path -KeyName 'password' -KeyValue 'P@ssword1' New-NavContainer2 -ContainerName $ContainerName -ImageName (Get-ImageNameForRepo) -ErrorAction SilentlyContinue } Export-ModuleMember -Function New-Container |