Skip to content

Commit 538f585

Browse files
Update Remove-ADGroupMember.md
add new parameter -DisablePermissiveModify for bug Bug 27810755
1 parent 8b8b168 commit 538f585

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

docset/windows/addsadministration/Remove-ADGroupMember.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
ms.mktglfcycl: manage
33
ms.sitesec: library
4-
ms.author: v-kaunu
4+
ms.author: v-anbarr
55
author: Kateyanne
66
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
77
external help file: Microsoft.ActiveDirectory.Management.dll-Help.xml
@@ -26,8 +26,8 @@ Removes one or more members from an Active Directory group.
2626
## SYNTAX
2727

2828
```
29-
Remove-ADGroupMember [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
30-
[-Identity] <ADGroup> [-Members] <ADPrincipal[]> [-Partition <String>] [-PassThru] [-Server <String>]
29+
Remove-ADGroupMember [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Identity] <ADGroup>
30+
[-Members] <ADPrincipal[]> [-Partition <String>] [-PassThru] [-Server <String>] [-DisablePermissiveModify]
3131
[<CommonParameters>]
3232
```
3333

@@ -307,6 +307,24 @@ Accept pipeline input: False
307307
Accept wildcard characters: False
308308
```
309309

310+
### -DisablePermissiveModify
311+
Group membership updates use permissive modify by default. This suppresses an error when removing a member that is not member of the group.
312+
When this parameter is used, an error “The specified account name is not a member of the group” is returned.
313+
314+
This parameter is available in Windows Server 2019 with the September 2020 Updates.
315+
316+
317+
```yaml
318+
Type: SwitchParameter
319+
Parameter Sets: (All)
320+
Aliases:
321+
Required: False
322+
Position: Named
323+
Default value: False
324+
Accept pipeline input: False
325+
Accept wildcard characters: False
326+
```
327+
310328
### -WhatIf
311329
Shows what would happen if the cmdlet runs.
312330
The cmdlet is not run.

0 commit comments

Comments
 (0)