You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -37,7 +61,7 @@ PS C:\> {{ Add example code here }}
37
61
38
62
### -Audit
39
63
40
-
{{ Fill Audit Description }}
64
+
Use this switch to include audit rules for the security descriptor from the system access control list (SACL).
41
65
42
66
```yaml
43
67
Type: SwitchParameter
@@ -46,14 +70,16 @@ Aliases:
46
70
47
71
Required: False
48
72
Position: Named
49
-
Default value: None
73
+
Default value: False
50
74
Accept pipeline input: False
51
75
Accept wildcard characters: False
52
76
```
53
77
54
78
### -Credential
55
79
56
-
{{ Fill Credential Description }}
80
+
Specifies a user account that has permission to perform this action. The default is the current user.
81
+
82
+
Type a user name, such as `User01` or `myDomain\User01`, or enter a [`PSCredential`](https://learn.microsoft.com/en-us/dotnet/api/system.management.automation.pscredential) object generated by the [`Get-Credential` cmdlet](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-credential). If you type a user name, you're prompted to enter the password.
Use this switch to include deleted objects in your search. This switch is also required when getting the ACL for a deleted Identity.
99
+
100
+
For more details, see [`DirectorySearcher.Tombstone` Property](https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.directorysearcher.tombstone#system-directoryservices-directorysearcher-tombstone).
73
101
74
102
```yaml
75
103
Type: SwitchParameter
@@ -78,18 +106,20 @@ Aliases:
78
106
79
107
Required: False
80
108
Position: Named
81
-
Default value: None
109
+
Default value: False
82
110
Accept pipeline input: False
83
111
Accept wildcard characters: False
84
112
```
85
113
86
114
### -LdapFilter
87
115
88
-
{{ Fill LdapFilter Description }}
116
+
Specifies an LDAP query string that is used to filter Active Directory objects you want to get the ACL from.
117
+
118
+
For more details, see the [__Remarks__ section from `DirectorySearcher.Filter`](https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.directorysearcher.filter#remarks).
The maximum number of objects you want to get the ACL from. The default value is `0`, meaning that the maximum number of object you will be getting the ACL from is determined by your LDAP filter or lack of it (all objects).
188
+
189
+
See also [`DirectorySearcher.SizeLimit` Property](https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.directorysearcher.sizelimit#system-directoryservices-directorysearcher-sizelimit).
138
190
139
191
```yaml
140
192
Type: Int32
193
+
Parameter Sets: Filter
194
+
Aliases:
195
+
196
+
Required: False
197
+
Position: Named
198
+
Default value: 0
199
+
Accept pipeline input: False
200
+
Accept wildcard characters: False
201
+
```
202
+
203
+
### -AuthenticationTypes
204
+
205
+
Specifies the authentication method to use. The default value is `Secure`.
206
+
207
+
> [!NOTE]
208
+
>
209
+
> [`AuthenticationTypes`](https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.authenticationtypes) is a Flags Enum, meaning that you can combine values, for example `-AuthenticationTypes 'Secure, FastBind'` is valid.
210
+
211
+
```yaml
212
+
Type: AuthenticationTypes
141
213
Parameter Sets: (All)
142
214
Aliases:
143
215
144
216
Required: False
145
217
Position: Named
218
+
Default value: Secure
219
+
Accept pipeline input: False
220
+
Accept wildcard characters: False
221
+
```
222
+
223
+
### -Identity
224
+
225
+
Specifies an Active Directory object by providing one of the following property values. The identifier in parentheses is the LDAP display name for the attribute.
226
+
227
+
- A DistinguishedName
228
+
- A GUID (`objectGuid`)
229
+
- A SID (`objectSid`)
230
+
- A sAMAccountName
231
+
232
+
> [!TIP]
233
+
>
234
+
> This parameter takes pipeline input. You can pipe the output from [ActiveDirectory cmdlets](https://learn.microsoft.com/en-us/powershell/module/activedirectory) to this parameter whenever the output has an `objectGuid` or a `DistinguishedName` property.
Determines the maximum number of objects the server can return in a paged search. The default is `1000`.
251
+
252
+
See also [`DirectorySearcher.PageSize` Property](https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.directorysearcher.pagesize) for more details.
253
+
254
+
```yaml
255
+
Type: Int32
256
+
Parameter Sets: Filter
257
+
Aliases:
258
+
259
+
Required: False
260
+
Position: Named
261
+
Default value: 1000
147
262
Accept pipeline input: False
148
263
Accept wildcard characters: False
149
264
```
150
265
151
-
### -ProgressAction
266
+
### -SearchBase
152
267
153
-
{{ Fill ProgressAction Description }}
268
+
Specifies the `DistinguishedName` of an Organization Unit or Container as the base for your search.
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).
284
+
This cmdlet supports the common parameters. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
0 commit comments