diff --git a/GetACLs.ps1 b/GetACLs.ps1 new file mode 100644 index 0000000..7b7d98e --- /dev/null +++ b/GetACLs.ps1 @@ -0,0 +1,14 @@ +[CmdletBinding()] +param ( + [string] + $Server +) + +$Projects +if($PSBoundParameters.ContainsKey("Server")){ + $Projects = . .\GetProjects.ps1 -Server $Server +} else { + $Projects = . .\GetProjects.ps1 +} + +$Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*" \ No newline at end of file