diff options
author | Harmj0y <will@harmj0y.net> | 2016-04-25 19:52:39 -0400 |
---|---|---|
committer | Harmj0y <will@harmj0y.net> | 2016-04-25 19:52:39 -0400 |
commit | 68c446b9b98db80d6cc683330f3b212907c02136 (patch) | |
tree | 88040f56550acb90a3d0e9a400e2fa8336a7d320 /Recon/PowerView.ps1 | |
parent | 4cedfa1c308a1bc37530725734290d506c0170dd (diff) | |
download | PowerSploit-68c446b9b98db80d6cc683330f3b212907c02136.tar.gz PowerSploit-68c446b9b98db80d6cc683330f3b212907c02136.zip |
Changed some property types in Get-ObjectACL
Diffstat (limited to 'Recon/PowerView.ps1')
-rw-r--r-- | Recon/PowerView.ps1 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Recon/PowerView.ps1 b/Recon/PowerView.ps1 index dd63509..cbe5d83 100644 --- a/Recon/PowerView.ps1 +++ b/Recon/PowerView.ps1 @@ -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 = "*", |