added missing return from roles and acl getter

This commit is contained in:
Karl-Wilfried Zimmer 2024-07-14 14:56:34 +02:00
parent b68961cb95
commit 4a1b5c217e
2 changed files with 2 additions and 2 deletions

View File

@ -11,4 +11,4 @@ if($PSBoundParameters.ContainsKey("Server")){
$Projects = . .\GetProjects.ps1
}
$Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*"
return $Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*"

View File

@ -11,4 +11,4 @@ if($PSBoundParameters.ContainsKey("Server")){
$Projects = . .\GetProjects.ps1
}
$Projects | Get-ADGroupMember | Where-Object Name -Match "GR.*"
return $Projects | Get-ADGroupMember | Where-Object Name -Match "GR.*"