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.

Disable-NTFSAuditInheritance.md 2.1 KiB

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