您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Get-NTFSSimpleAccess.md 3.2 KiB

4 年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. ---
  2. external help file: NTFSSecurity.dll-Help.xml
  3. Module Name: ntfssecurity
  4. online version:
  5. schema: 2.0.0
  6. ---
  7. # Get-NTFSSimpleAccess
  8. ## SYNOPSIS
  9. {{ Fill in the Synopsis }}
  10. ## SYNTAX
  11. ### Path
  12. ```
  13. Get-NTFSSimpleAccess [-IncludeRootFolder] [[-Path] <String[]>] [-Account <IdentityReference2>]
  14. [-ExcludeExplicit] [-ExcludeInherited] [<CommonParameters>]
  15. ```
  16. ### SD
  17. ```
  18. Get-NTFSSimpleAccess [-IncludeRootFolder] [-SecurityDescriptor] <FileSystemSecurity2[]>
  19. [-Account <IdentityReference2>] [-ExcludeExplicit] [-ExcludeInherited] [<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. ### -Account
  31. {{ Fill Account Description }}
  32. ```yaml
  33. Type: IdentityReference2
  34. Parameter Sets: (All)
  35. Aliases: IdentityReference, ID
  36. Required: False
  37. Position: Named
  38. Default value: None
  39. Accept pipeline input: False
  40. Accept wildcard characters: False
  41. ```
  42. ### -ExcludeExplicit
  43. {{ Fill ExcludeExplicit Description }}
  44. ```yaml
  45. Type: SwitchParameter
  46. Parameter Sets: (All)
  47. Aliases:
  48. Required: False
  49. Position: Named
  50. Default value: None
  51. Accept pipeline input: False
  52. Accept wildcard characters: False
  53. ```
  54. ### -ExcludeInherited
  55. {{ Fill ExcludeInherited 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. ### -IncludeRootFolder
  67. {{ Fill IncludeRootFolder Description }}
  68. ```yaml
  69. Type: SwitchParameter
  70. Parameter Sets: (All)
  71. Aliases:
  72. Required: False
  73. Position: Named
  74. Default value: None
  75. Accept pipeline input: False
  76. Accept wildcard characters: False
  77. ```
  78. ### -Path
  79. {{ Fill Path Description }}
  80. ```yaml
  81. Type: String[]
  82. Parameter Sets: Path
  83. Aliases: FullName
  84. Required: False
  85. Position: 1
  86. Default value: None
  87. Accept pipeline input: True (ByPropertyName, ByValue)
  88. Accept wildcard characters: False
  89. ```
  90. ### -SecurityDescriptor
  91. The SecurityDescriptor parameter allows passing an security descriptor or an array or security descriptors.
  92. 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.
  93. ```yaml
  94. Type: FileSystemSecurity2[]
  95. Parameter Sets: SD
  96. Aliases:
  97. Required: True
  98. Position: 1
  99. Default value: None
  100. Accept pipeline input: True (ByPropertyName, ByValue)
  101. Accept wildcard characters: False
  102. ```
  103. ### CommonParameters
  104. 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).
  105. ## INPUTS
  106. ### System.String[]
  107. ### Security2.FileSystemSecurity2[]
  108. ### Security2.IdentityReference2
  109. ## OUTPUTS
  110. ### Security2.SimpleFileSystemAccessRule
  111. ## NOTES
  112. ## RELATED LINKS