From b3b99fe4228279405cdfe836d0378ca174e39e7e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 24 Mar 2024 02:04:43 +0100 Subject: [PATCH] Fix syntax errors --- scripts/Windows/OS/User/Add.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Windows/OS/User/Add.ps1 b/scripts/Windows/OS/User/Add.ps1 index c92415aa..528e7bd9 100644 --- a/scripts/Windows/OS/User/Add.ps1 +++ b/scripts/Windows/OS/User/Add.ps1 @@ -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); }