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.

Set-NTFSSecurityDescriptor.md 1.9 KiB

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