From 746cdf08c4e138272a544a1302f60869ad9409c7 Mon Sep 17 00:00:00 2001 From: Tony Phipps Date: Thu, 3 Oct 2024 14:32:57 -0600 Subject: [PATCH] Update Get-Shares.psm1 --- Modules/Get-Shares.psm1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Modules/Get-Shares.psm1 b/Modules/Get-Shares.psm1 index b09f669..ff7352c 100644 --- a/Modules/Get-Shares.psm1 +++ b/Modules/Get-Shares.psm1 @@ -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{