aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Recon/PowerView.ps111
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 = "*",