From 4a1b5c217e44e5df0a07d2d32318f360e5c239ba Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 14 Jul 2024 14:56:34 +0200 Subject: [PATCH] added missing return from roles and acl getter --- GetACLs.ps1 | 2 +- GetRoles.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GetACLs.ps1 b/GetACLs.ps1 index 7b7d98e..161e111 100644 --- a/GetACLs.ps1 +++ b/GetACLs.ps1 @@ -11,4 +11,4 @@ if($PSBoundParameters.ContainsKey("Server")){ $Projects = . .\GetProjects.ps1 } -$Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*" \ No newline at end of file +return $Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*" \ No newline at end of file diff --git a/GetRoles.ps1 b/GetRoles.ps1 index d00f0fa..2387c13 100644 --- a/GetRoles.ps1 +++ b/GetRoles.ps1 @@ -11,4 +11,4 @@ if($PSBoundParameters.ContainsKey("Server")){ $Projects = . .\GetProjects.ps1 } -$Projects | Get-ADGroupMember | Where-Object Name -Match "GR.*" \ No newline at end of file +return $Projects | Get-ADGroupMember | Where-Object Name -Match "GR.*" \ No newline at end of file