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.

Clear-NTFSAudit.md 2.3 KiB

5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
4 年之前
5 年之前
5 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ---
  2. external help file: NTFSSecurity.dll-Help.xml
  3. Module Name: ntfssecurity
  4. online version:
  5. schema: 2.0.0
  6. ---
  7. # Clear-NTFSAudit
  8. ## SYNOPSIS
  9. {{ Fill in the Synopsis }}
  10. ## SYNTAX
  11. ### Path (Default)
  12. ```
  13. Clear-NTFSAudit [-Path] <String[]> [-DisableInheritance] [<CommonParameters>]
  14. ```
  15. ### SD
  16. ```
  17. Clear-NTFSAudit [-SecurityDescriptor] <FileSystemSecurity2[]> [-DisableInheritance] [<CommonParameters>]
  18. ```
  19. ## DESCRIPTION
  20. {{ Fill in the Description }}
  21. ## EXAMPLES
  22. ### Example 1
  23. ```PowerShell
  24. PS C:\> {{ Add example code here }}
  25. ```
  26. {{ Add example description here }}
  27. ## PARAMETERS
  28. ### -DisableInheritance
  29. {{ Fill DisableInheritance Description }}
  30. ```yaml
  31. Type: SwitchParameter
  32. Parameter Sets: (All)
  33. Aliases:
  34. Required: False
  35. Position: Named
  36. Default value: None
  37. Accept pipeline input: False
  38. Accept wildcard characters: False
  39. ```
  40. ### -Path
  41. {{ Fill Path Description }}
  42. ```yaml
  43. Type: String[]
  44. Parameter Sets: Path
  45. Aliases: FullName
  46. Required: True
  47. Position: 1
  48. Default value: None
  49. Accept pipeline input: True (ByPropertyName, ByValue)
  50. Accept wildcard characters: False
  51. ```
  52. ### -SecurityDescriptor
  53. The SecurityDescriptor parameter allows passing an security descriptor or an array or security descriptors.
  54. 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.
  55. ```yaml
  56. Type: FileSystemSecurity2[]
  57. Parameter Sets: SD
  58. Aliases:
  59. Required: True
  60. Position: 1
  61. Default value: None
  62. Accept pipeline input: True (ByPropertyName, ByValue)
  63. Accept wildcard characters: False
  64. ```
  65. ### CommonParameters
  66. 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).
  67. ## INPUTS
  68. ### System.String[]
  69. ### Security2.FileSystemSecurity2[]
  70. ## OUTPUTS
  71. ### System.Object
  72. ## NOTES
  73. ## RELATED LINKS