Changed some property types in Get-ObjectACL

This commit is contained in:
Harmj0y 2016-04-25 19:52:39 -04:00
parent 4cedfa1c30
commit 68c446b9b9
1 changed files with 9 additions and 2 deletions

View File

@ -2846,18 +2846,25 @@ function Get-ObjectAcl {
Get the ACLs for the matt.admin user in the testlab.local domain and
resolve relevant GUIDs to their display names.
.EXAMPLE
PS C:\> Get-NetOU -FullData | Get-ObjectAcl -ResolveGUIDs
Enumerate the ACL permissions for all OUs in the domain.
#>
[CmdletBinding()]
Param (
[Parameter(ValueFromPipeline=$True)]
[Parameter(ValueFromPipelineByPropertyName=$True)]
[String]
$SamAccountName,
[Parameter(ValueFromPipelineByPropertyName=$True)]
[String]
$Name = "*",
[Alias('DN')]
[Parameter(ValueFromPipelineByPropertyName=$True)]
[String]
$DistinguishedName = "*",