You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Enable-NTFSAccessInheritance.md 2.6 KiB

5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
4 年之前
5 年之前
5 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. ---
  2. external help file: NTFSSecurity.dll-Help.xml
  3. Module Name: ntfssecurity
  4. online version:
  5. schema: 2.0.0
  6. ---
  7. # Enable-NTFSAccessInheritance
  8. ## SYNOPSIS
  9. {{ Fill in the Synopsis }}
  10. ## SYNTAX
  11. ### Path (Default)
  12. ```
  13. Enable-NTFSAccessInheritance [[-Path] <String[]>] [-PassThru] [-RemoveExplicitAccessRules] [<CommonParameters>]
  14. ```
  15. ### SecurityDescriptor
  16. ```
  17. Enable-NTFSAccessInheritance [-SecurityDescriptor] <FileSystemSecurity2[]> [-PassThru]
  18. [-RemoveExplicitAccessRules] [<CommonParameters>]
  19. ```
  20. ## DESCRIPTION
  21. {{ Fill in the Description }}
  22. ## EXAMPLES
  23. ### Example 1
  24. ```PowerShell
  25. PS C:\> {{ Add example code here }}
  26. ```
  27. {{ Add example description here }}
  28. ## PARAMETERS
  29. ### -PassThru
  30. {{ Fill PassThru Description }}
  31. ```yaml
  32. Type: SwitchParameter
  33. Parameter Sets: (All)
  34. Aliases:
  35. Required: False
  36. Position: Named
  37. Default value: None
  38. Accept pipeline input: False
  39. Accept wildcard characters: False
  40. ```
  41. ### -Path
  42. {{ Fill Path Description }}
  43. ```yaml
  44. Type: String[]
  45. Parameter Sets: Path
  46. Aliases: FullName
  47. Required: False
  48. Position: 1
  49. Default value: None
  50. Accept pipeline input: True (ByPropertyName, ByValue)
  51. Accept wildcard characters: False
  52. ```
  53. ### -RemoveExplicitAccessRules
  54. {{ Fill RemoveExplicitAccessRules Description }}
  55. ```yaml
  56. Type: SwitchParameter
  57. Parameter Sets: (All)
  58. Aliases:
  59. Required: False
  60. Position: Named
  61. Default value: None
  62. Accept pipeline input: False
  63. Accept wildcard characters: False
  64. ```
  65. ### -SecurityDescriptor
  66. The SecurityDescriptor parameter allows passing an security descriptor or an array or security descriptors.
  67. A security descriptor contains information about the owner of the object, and the primary group of an object. The security descriptor also contains two access control lists (ACL). The first list is called the discretionary access control lists (DACL), and describes who should have access to an object and what type of access to grant. The second list is called the system access control lists (SACL) and defines what type of auditing to record for an object.
  68. ```yaml
  69. Type: FileSystemSecurity2[]
  70. Parameter Sets: SecurityDescriptor
  71. Aliases:
  72. Required: True
  73. Position: 1
  74. Default value: None
  75. Accept pipeline input: True (ByPropertyName, ByValue)
  76. Accept wildcard characters: False
  77. ```
  78. ### CommonParameters
  79. This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
  80. ## INPUTS
  81. ### System.String[]
  82. ### Security2.FileSystemSecurity2[]
  83. ## OUTPUTS
  84. ### System.Object
  85. ## NOTES
  86. ## RELATED LINKS