14 lines
288 B
PowerShell
14 lines
288 B
PowerShell
[CmdletBinding()]
|
|
param (
|
|
[string]
|
|
$Server
|
|
)
|
|
|
|
$Projects=$null
|
|
if($PSBoundParameters.ContainsKey("Server")){
|
|
$Projects = . .\GetProjects.ps1 -Server $Server
|
|
} else {
|
|
$Projects = . .\GetProjects.ps1
|
|
}
|
|
|
|
return $Projects | Get-ADGroupMember | Where-Object Name -Match "ACL.*" |