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){