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