diff --git a/scripts/AD_AIO.ps1 b/scripts/AD_AIO.ps1 index 0b3aec6..01a5944 100644 --- a/scripts/AD_AIO.ps1 +++ b/scripts/AD_AIO.ps1 @@ -271,7 +271,7 @@ function Create-User { # Überprüfen, ob die Gruppe bereits existiert $group = Get-ADGroup -Filter { Name -eq $groupName } -ErrorAction SilentlyContinue - + $groupOU = $masterGroupOUComboBox.SelectedItem # Wenn die Gruppe nicht existiert, wird sie erstellt if (-not $group) { try {