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.

Remove-NTFSAccess.md 5.3 KiB

5 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. ---
  2. external help file: NTFSSecurity.dll-Help.xml
  3. Module Name: ntfssecurity
  4. online version:
  5. schema: 2.0.0
  6. ---
  7. # Remove-NTFSAccess
  8. ## SYNOPSIS
  9. {{ Fill in the Synopsis }}
  10. ## SYNTAX
  11. ### PathComplex (Default)
  12. ```
  13. Remove-NTFSAccess [-Path] <String[]> [-Account] <IdentityReference2[]> [-AccessRights] <FileSystemRights2>
  14. [-AccessType <AccessControlType>] [-InheritanceFlags <InheritanceFlags>]
  15. [-PropagationFlags <PropagationFlags>] [-PassThru] [<CommonParameters>]
  16. ```
  17. ### PathSimple
  18. ```
  19. Remove-NTFSAccess [-Path] <String[]> [-Account] <IdentityReference2[]> [-AccessRights] <FileSystemRights2>
  20. [-AccessType <AccessControlType>] [-AppliesTo <ApplyTo>] [-PassThru] [<CommonParameters>]
  21. ```
  22. ### SDSimple
  23. ```
  24. Remove-NTFSAccess [-SecurityDescriptor] <FileSystemSecurity2[]> [-Account] <IdentityReference2[]>
  25. [-AccessRights] <FileSystemRights2> [-AccessType <AccessControlType>] [-AppliesTo <ApplyTo>] [-PassThru]
  26. [<CommonParameters>]
  27. ```
  28. ### SDComplex
  29. ```
  30. Remove-NTFSAccess [-SecurityDescriptor] <FileSystemSecurity2[]> [-Account] <IdentityReference2[]>
  31. [-AccessRights] <FileSystemRights2> [-AccessType <AccessControlType>] [-InheritanceFlags <InheritanceFlags>]
  32. [-PropagationFlags <PropagationFlags>] [-PassThru] [<CommonParameters>]
  33. ```
  34. ## DESCRIPTION
  35. {{ Fill in the Description }}
  36. ## EXAMPLES
  37. ### Example 1
  38. ```powershell
  39. PS C:\> {{ Add example code here }}
  40. ```
  41. {{ Add example description here }}
  42. ## PARAMETERS
  43. ### -AccessRights
  44. {{ Fill AccessRights Description }}
  45. ```yaml
  46. Type: FileSystemRights2
  47. Parameter Sets: (All)
  48. Aliases: FileSystemRights
  49. Accepted values: None, ReadData, ListDirectory, WriteData, CreateFiles, AppendData, CreateDirectories, ReadExtendedAttributes, WriteExtendedAttributes, ExecuteFile, Traverse, DeleteSubdirectoriesAndFiles, ReadAttributes, WriteAttributes, Write, Delete, ReadPermissions, Read, ReadAndExecute, Modify, ChangePermissions, TakeOwnership, Synchronize, FullControl, GenericAll, GenericExecute, GenericWrite, GenericRead
  50. Required: True
  51. Position: 3
  52. Default value: None
  53. Accept pipeline input: True (ByPropertyName)
  54. Accept wildcard characters: False
  55. ```
  56. ### -AccessType
  57. {{ Fill AccessType Description }}
  58. ```yaml
  59. Type: AccessControlType
  60. Parameter Sets: (All)
  61. Aliases: AccessControlType
  62. Accepted values: Allow, Deny
  63. Required: False
  64. Position: Named
  65. Default value: None
  66. Accept pipeline input: True (ByPropertyName)
  67. Accept wildcard characters: False
  68. ```
  69. ### -Account
  70. {{ Fill Account Description }}
  71. ```yaml
  72. Type: IdentityReference2[]
  73. Parameter Sets: (All)
  74. Aliases: IdentityReference, ID
  75. Required: True
  76. Position: 2
  77. Default value: None
  78. Accept pipeline input: True (ByPropertyName)
  79. Accept wildcard characters: False
  80. ```
  81. ### -AppliesTo
  82. {{ Fill AppliesTo Description }}
  83. ```yaml
  84. Type: ApplyTo
  85. Parameter Sets: PathSimple, SDSimple
  86. Aliases:
  87. Accepted values: ThisFolderOnly, ThisFolderSubfoldersAndFiles, ThisFolderAndSubfolders, ThisFolderAndFiles, SubfoldersAndFilesOnly, SubfoldersOnly, FilesOnly, ThisFolderSubfoldersAndFilesOneLevel, ThisFolderAndSubfoldersOneLevel, ThisFolderAndFilesOneLevel, SubfoldersAndFilesOnlyOneLevel, SubfoldersOnlyOneLevel, FilesOnlyOneLevel
  88. Required: False
  89. Position: Named
  90. Default value: None
  91. Accept pipeline input: True (ByPropertyName)
  92. Accept wildcard characters: False
  93. ```
  94. ### -InheritanceFlags
  95. {{ Fill InheritanceFlags Description }}
  96. ```yaml
  97. Type: InheritanceFlags
  98. Parameter Sets: PathComplex, SDComplex
  99. Aliases:
  100. Accepted values: None, ContainerInherit, ObjectInherit
  101. Required: False
  102. Position: Named
  103. Default value: None
  104. Accept pipeline input: True (ByPropertyName)
  105. Accept wildcard characters: False
  106. ```
  107. ### -PassThru
  108. {{ Fill PassThru Description }}
  109. ```yaml
  110. Type: SwitchParameter
  111. Parameter Sets: (All)
  112. Aliases:
  113. Required: False
  114. Position: Named
  115. Default value: None
  116. Accept pipeline input: False
  117. Accept wildcard characters: False
  118. ```
  119. ### -Path
  120. {{ Fill Path Description }}
  121. ```yaml
  122. Type: String[]
  123. Parameter Sets: PathComplex, PathSimple
  124. Aliases: FullName
  125. Required: True
  126. Position: 1
  127. Default value: None
  128. Accept pipeline input: True (ByPropertyName, ByValue)
  129. Accept wildcard characters: False
  130. ```
  131. ### -PropagationFlags
  132. {{ Fill PropagationFlags Description }}
  133. ```yaml
  134. Type: PropagationFlags
  135. Parameter Sets: PathComplex, SDComplex
  136. Aliases:
  137. Accepted values: None, NoPropagateInherit, InheritOnly
  138. Required: False
  139. Position: Named
  140. Default value: None
  141. Accept pipeline input: True (ByPropertyName)
  142. Accept wildcard characters: False
  143. ```
  144. ### -SecurityDescriptor
  145. {{ Fill SecurityDescriptor Description }}
  146. ```yaml
  147. Type: FileSystemSecurity2[]
  148. Parameter Sets: SDSimple, SDComplex
  149. Aliases:
  150. Required: True
  151. Position: 1
  152. Default value: None
  153. Accept pipeline input: True (ByPropertyName, ByValue)
  154. Accept wildcard characters: False
  155. ```
  156. ### CommonParameters
  157. 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).
  158. ## INPUTS
  159. ### System.String[]
  160. ### Security2.FileSystemSecurity2[]
  161. ### Security2.IdentityReference2[]
  162. ### Security2.FileSystemRights2
  163. ### System.Security.AccessControl.AccessControlType
  164. ### System.Security.AccessControl.InheritanceFlags
  165. ### System.Security.AccessControl.PropagationFlags
  166. ### Security2.ApplyTo
  167. ## OUTPUTS
  168. ### Security2.FileSystemAccessRule2
  169. ## NOTES
  170. ## RELATED LINKS