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";
|
||||
|
||||
function Install-PersonalUsers([Context] $context) {
|
||||
$userIDProperty = "User";
|
||||
|
||||
$null = New-Module {
|
||||
$userIDProperty = "User";
|
||||
|
||||
function Get-UserID {
|
||||
return $context.Get($userIDProperty);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue