Fix syntax errors

This commit is contained in:
Manuel Thalmann 2024-03-24 02:04:43 +01:00
parent 060ae06753
commit b3b99fe422

View file

@ -14,11 +14,11 @@ function New-PersonalUser([Context] $context, [string] $userName)
$adminRemovalStage = "RemoveAdmin";
$null = New-Module {
Get-UserStage {
function Get-UserStage() {
return $context.Get($userStageProperty);
}
Set-UserStage {
function Set-UserStage() {
param([string]$value);
$context.Set($userStageProperty, $value);
}