File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
docset/windows/addsadministration Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 11---
22ms.mktglfcycl : manage
33ms.sitesec : library
4- ms.author : v-kaunu
4+ ms.author : v-anbarr
55author : Kateyanne
66description : Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
77external 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
307307Accept 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
311329Shows what would happen if the cmdlet runs.
312330The cmdlet is not run.
You can’t perform that action at this time.
0 commit comments