added acl getter
This commit is contained in:
parent
1d3240a972
commit
1709b2a79d
14
GetACLs.ps1
Normal file
14
GetACLs.ps1
Normal file
@ -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.*"
|
Loading…
Reference in New Issue
Block a user