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 4, 2024
1 parent bb59a1d commit 303e6f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Get-Shares.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function Get-Shares {
}
.NOTES
Updated: 2024-10-03
Updated: 2024-10-04
Contributing Authors:
Anthony Phipps
Expand Down Expand Up @@ -119,7 +119,7 @@ function Get-Shares {
$NTFSAccessFileSystemRights = $NTFSAccess.FileSystemRights
}

$NTFSPermissions += "{0} - {1} - {2}`n" -f $NTFSAccess.IdentityReference.Value, $NTFSAccess.AccessControlType, $NTFSAccessFileSystemRights
$NTFSPermissions += "{0} - {1} - {2} - {3} - {4}`n" -f $NTFSAccess.AccessControlType, $NTFSAccessFileSystemRights, $NTFSAccess.IdentityReference.Value, $NTFSAccess.PropagationFlags, $NTFSAccess.InheritanceFlags
}

$output = New-Object -TypeName PSObject
Expand Down

0 comments on commit 303e6f3

Please # to comment.