From f009d6015e9cd3fa318da3b8471862c47d8ff12e Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Mon, 15 Jul 2024 22:45:12 +0200 Subject: [PATCH] removed error --- RemoveUser.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RemoveUser.ps1 b/RemoveUser.ps1 index 02f90a5..785e6cc 100644 --- a/RemoveUser.ps1 +++ b/RemoveUser.ps1 @@ -35,9 +35,9 @@ if($null -eq $User){ } if($PSBoundParameters.ContainsKey("Server")){ - $Group = . .\GetProjects.ps1 -Server $Server -ProjectName $ProjectName + $Group = . .\GetProjects.ps1 -Server $Server } else { - $Group = . .\GetProjects.ps1 -ProjectName $ProjectName + $Group = . .\GetProjects.ps1 } if($null -eq $Group){