Fix inaccessible variable

This commit is contained in:
Manuel Thalmann 2024-03-24 01:59:39 +01:00
parent fed96c7cdf
commit 060ae06753

View file

@ -3,9 +3,9 @@
. "$PSScriptRoot/Add.ps1";
function Install-PersonalUsers([Context] $context) {
$null = New-Module {
$userIDProperty = "User";
$null = New-Module {
function Get-UserID {
return $context.Get($userIDProperty);
}