Functions/Set-LocalDevNotebookEnvironment.ps1

Function Set-LocalDevNotebookEnvironment {
    [cmdletbinding()]
    param(
        [string] $user,
        [PSCustomObject] $config
    )

    [string]$notebookEnvironment = $config.notebookEnvironment 
    $notebookEnvironment = $notebookEnvironment.Replace('__userName__', $user)
    $config.notebookEnvironment = $notebookEnvironment
    return $config
}