From 52afe64a1b654fe52193b1c37b77d5c7b0186f65 Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 14 Jul 2024 15:00:02 +0200 Subject: [PATCH] corrected eroneous comandlet names --- GetProjects.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GetProjects.ps1 b/GetProjects.ps1 index 14f6c84..5219006 100644 --- a/GetProjects.ps1 +++ b/GetProjects.ps1 @@ -6,7 +6,7 @@ param ( . .\Variables.ps1 if($PSBoundParameters.ContainsKey("Server")){ - Get-ADGroups -Server $Server -SearchBase $Projects + Get-ADGroup -Server $Server -SearchBase $Projects } else { - Get-ADGroups -SearchBase $Projects + Get-ADGroup -SearchBase $Projects } \ No newline at end of file