2024-07-14 14:03:35 +02:00
|
|
|
[CmdletBinding()]
|
|
|
|
param (
|
|
|
|
[string]
|
|
|
|
$Server
|
|
|
|
)
|
|
|
|
|
2024-07-14 16:57:49 +02:00
|
|
|
$Projects=$null
|
2024-07-14 14:03:35 +02:00
|
|
|
if($PSBoundParameters.ContainsKey("Server")){
|
|
|
|
$Projects = . .\GetProjects.ps1 -Server $Server
|
|
|
|
} else {
|
|
|
|
$Projects = . .\GetProjects.ps1
|
|
|
|
}
|
|
|
|
|
2024-07-14 14:56:34 +02:00
|
|
|
return $Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*"
|