Browse Source

Merge pull request #1 from raandree/master

update
pull/73/head
James Smith 4 years ago
committed by GitHub
parent
commit
18233e1eb5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 67 additions and 65 deletions
  1. +1
    -1
      NTFSSecurity/ItemCmdlets/RemoveItem2.cs
  2. +64
    -62
      NTFSSecurity/NTFSSecurity.psd1
  3. +2
    -2
      README.md

+ 1
- 1
NTFSSecurity/ItemCmdlets/RemoveItem2.cs View File

@@ -40,7 +40,7 @@ namespace NTFSSecurity
} }


[Parameter] [Parameter]
public SwitchParameter PassThur
public SwitchParameter PassThru
{ {
get { return passThru; } get { return passThru; }
set { passThru = value; } set { passThru = value; }


+ 64
- 62
NTFSSecurity/NTFSSecurity.psd1 View File

@@ -1,94 +1,96 @@
@{ @{
ModuleToProcess = 'NTFSSecurity.psm1'
ModuleToProcess = 'NTFSSecurity.psm1'


ModuleVersion = '4.2.5'
ModuleVersion = '4.2.5'


GUID = 'cd303a6c-f405-4dcb-b1ce-fbc2c52264e9'
GUID = 'cd303a6c-f405-4dcb-b1ce-fbc2c52264e9'


Author = 'Raimund Andree'
Author = 'Raimund Andree'


CompanyName = 'Raimund Andree'
CompanyName = 'Raimund Andree'


Copyright = '2018'
Copyright = '2018'


Description = 'Windows PowerShell Module for managing file and folder security on NTFS volumes'
Description = 'Windows PowerShell Module for managing file and folder security on NTFS volumes'


PowerShellVersion = '2.0'
PowerShellVersion = '2.0'

CompatiblePSEditions = 'Core', 'Desktop'


DotNetFrameworkVersion = '3.5' DotNetFrameworkVersion = '3.5'


ScriptsToProcess = @('NTFSSecurity.Init.ps1')
ScriptsToProcess = @('NTFSSecurity.Init.ps1')


TypesToProcess = @('NTFSSecurity.types.ps1xml')
TypesToProcess = @('NTFSSecurity.types.ps1xml')


FormatsToProcess = @()
FormatsToProcess = @()


NestedModules = @('NTFSSecurity.dll')
NestedModules = @('NTFSSecurity.dll')


AliasesToExport = '*'
AliasesToExport = '*'


CmdletsToExport = 'Add-NTFSAccess',
'Clear-NTFSAccess',
'Disable-NTFSAccessInheritance',
'Enable-NTFSAccessInheritance',
'Get-NTFSAccess',
'Get-NTFSEffectiveAccess',
'Get-NTFSOrphanedAccess',
'Get-NTFSSimpleAccess',
'Remove-NTFSAccess',
'Show-NTFSSimpleAccess',
CmdletsToExport = 'Add-NTFSAccess',
'Clear-NTFSAccess',
'Disable-NTFSAccessInheritance',
'Enable-NTFSAccessInheritance',
'Get-NTFSAccess',
'Get-NTFSEffectiveAccess',
'Get-NTFSOrphanedAccess',
'Get-NTFSSimpleAccess',
'Remove-NTFSAccess',
'Show-NTFSSimpleAccess',
#---------------------------------------------- #----------------------------------------------
'Add-NTFSAudit',
'Clear-NTFSAudit',
'Disable-NTFSAuditInheritance',
'Enable-NTFSAuditInheritance',
'Get-NTFSAudit',
'Get-NTFSOrphanedAudit',
'Remove-NTFSAudit',
'Add-NTFSAudit',
'Clear-NTFSAudit',
'Disable-NTFSAuditInheritance',
'Enable-NTFSAuditInheritance',
'Get-NTFSAudit',
'Get-NTFSOrphanedAudit',
'Remove-NTFSAudit',
#---------------------------------------------- #----------------------------------------------
'Disable-NTFSAccessInheritance',
'Disable-NTFSAuditInheritance',
'Enable-NTFSAccessInheritance',
'Enable-NTFSAuditInheritance',
'Get-NTFSInheritance',
'Set-NTFSInheritance',
'Disable-NTFSAccessInheritance',
'Disable-NTFSAuditInheritance',
'Enable-NTFSAccessInheritance',
'Enable-NTFSAuditInheritance',
'Get-NTFSInheritance',
'Set-NTFSInheritance',
#---------------------------------------------- #----------------------------------------------
'Get-NTFSOwner',
'Set-NTFSOwner',
'Get-NTFSOwner',
'Set-NTFSOwner',
#---------------------------------------------- #----------------------------------------------
'Get-NTFSSecurityDescriptor',
'Set-NTFSSecurityDescriptor',
'Get-NTFSSecurityDescriptor',
'Set-NTFSSecurityDescriptor',
#---------------------------------------------- #----------------------------------------------
'Disable-Privileges',
'Enable-Privileges',
'Get-Privileges',
'Disable-Privileges',
'Enable-Privileges',
'Get-Privileges',
#---------------------------------------------- #----------------------------------------------
'Copy-Item2',
'Get-ChildItem2',
'Get-Item2',
'Move-Item2',
'Remove-Item2',
'Copy-Item2',
'Get-ChildItem2',
'Get-Item2',
'Move-Item2',
'Remove-Item2',
#---------------------------------------------- #----------------------------------------------
'Test-Path2',
'Test-Path2',
#---------------------------------------------- #----------------------------------------------
'Get-NTFSHardLink',
'New-NTFSHardLink',
'New-NTFSSymbolicLink',
'Get-NTFSHardLink',
'New-NTFSHardLink',
'New-NTFSSymbolicLink',
#---------------------------------------------- #----------------------------------------------
'Get-DiskSpace',
'Get-FileHash2'
'Get-DiskSpace',
'Get-FileHash2'


FileList = @('NTFSSecurity.dll', 'NTFSSecurity.types.ps1xml', 'NTFSSecurity.format.ps1xml', 'NTFSSecurity.Init.ps1', 'NTFSSecurity.psm1')
FileList = @('NTFSSecurity.dll', 'NTFSSecurity.types.ps1xml', 'NTFSSecurity.format.ps1xml', 'NTFSSecurity.Init.ps1', 'NTFSSecurity.psm1')


PrivateData = @{
EnablePrivileges = $true
GetInheritedFrom = $true
PrivateData = @{
EnablePrivileges = $true
GetInheritedFrom = $true
GetFileSystemModeProperty = $true GetFileSystemModeProperty = $true
ShowAccountSid = $false
IdentifyHardLinks = $true
ShowAccountSid = $false
IdentifyHardLinks = $true


PSData = @{
Tags = @('AccessControl', 'ACL', 'DirectorySecurity', 'FileSecurity', 'FileSystem', 'FileSystemSecurity', 'NTFS', 'Module', 'AccessRights')
PSData = @{
Tags = @('AccessControl', 'ACL', 'DirectorySecurity', 'FileSecurity', 'FileSystem', 'FileSystemSecurity', 'NTFS', 'Module', 'AccessRights')
LicenseUri = 'https://github.com/raandree/NTFSSecurity/blob/master/LICENSE' LicenseUri = 'https://github.com/raandree/NTFSSecurity/blob/master/LICENSE'
ProjectUri = 'https://github.com/raandree/NTFSSecurity' ProjectUri = 'https://github.com/raandree/NTFSSecurity'
} }


+ 2
- 2
README.md View File

@@ -14,5 +14,5 @@ Further help can be found in [How to install](https://github.com/raandree/NTFSSe
The cmdlets are yet not documented completely so Get-Help will not show help for all the cmdlets. Providing documentation is planned though. The cmdlets are yet not documented completely so Get-Help will not show help for all the cmdlets. Providing documentation is planned though.


Additional documentation is available: Additional documentation is available:
* [NTFSSecurity Tutorial 1 - Getting, adding and removing permissions](http://blogs.technet.com/b/fieldcoding/archive/2014/12/05/ntfssecurity-tutorial-1-getting-adding-and-removing-permissions.aspx)
* [NTFSSecurity Tutorial 2 - Managing NTFS Inheritance and Using Privileges](http://blogs.technet.com/b/fieldcoding/archive/2014/12/05/ntfssecurity-tutorial-2-managing-ntfs-inheritance-and-using-privileges.aspx)
* [NTFSSecurity Tutorial 1 - Getting, adding and removing permissions](https://docs.microsoft.com/en-us/archive/blogs/fieldcoding/ntfssecurity-tutorial-1-getting-adding-and-removing-permissions)
* [NTFSSecurity Tutorial 2 - Managing NTFS Inheritance and Using Privileges](https://docs.microsoft.com/en-us/archive/blogs/fieldcoding/ntfssecurity-tutorial-2-managing-ntfs-inheritance-and-using-privileges)

Loading…
Cancel
Save