Skip to content

Commit

Permalink
Update Get-Shares.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyPhipps authored Oct 3, 2024
1 parent 287fafa commit 746cdf0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Modules/Get-Shares.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ function Get-Shares {

$stopwatch = New-Object System.Diagnostics.Stopwatch
$stopwatch.Start()

$PermissionFlags = @{
0x1 = "Read-List"
0x2 = "Write-Create"
0x4 = "Append-Create Subdirectory"
0x20 = "Execute file-Traverse directory"
0x40 = "Delete child"
0x10000 = "Delete"
0x40000 = "Write access to DACL"
0x80000 = "Write Owner"
}
}

process{
Expand Down

0 comments on commit 746cdf0

Please sign in to comment.