$tempDir = Join-Path $([System.IO.Path]::GetTempPath()) $([System.IO.Path]::GetRandomFileName()); $null = New-Item -ItemType Directory $tempDir; Push-Location "$tempDir"; . "$PSScriptRoot/config.sh"; Pop-Location; Remove-Item -Recurse "$tempDir";