Fix inaccessible variable
This commit is contained in:
parent
fed96c7cdf
commit
060ae06753
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
. "$PSScriptRoot/Add.ps1";
|
. "$PSScriptRoot/Add.ps1";
|
||||||
|
|
||||||
function Install-PersonalUsers([Context] $context) {
|
function Install-PersonalUsers([Context] $context) {
|
||||||
$userIDProperty = "User";
|
|
||||||
|
|
||||||
$null = New-Module {
|
$null = New-Module {
|
||||||
|
$userIDProperty = "User";
|
||||||
|
|
||||||
function Get-UserID {
|
function Get-UserID {
|
||||||
return $context.Get($userIDProperty);
|
return $context.Get($userIDProperty);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue