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
@@ -27,8 +27,8 @@ Adds one or more members to an Active Directory group.
2727
2828```
2929Add-ADGroupMember [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
30- [-Identity] <ADGroup> [-Members] <ADPrincipal[]> [-MemberTimeToLive <TimeSpan>] [-Partition <String>]
31- [-PassThru] [-Server <String>] [<CommonParameters>]
30+ [-Identity] <ADGroup> [-Members] <ADPrincipal[]> [-MemberTimeToLive <TimeSpan>] [-Partition <String>]
31+ [-PassThru] [-Server <String>] [-DisablePermissiveModify] [ <CommonParameters>]
3232```
3333
3434## DESCRIPTION
@@ -329,6 +329,24 @@ Accept pipeline input: False
329329Accept wildcard characters: False
330330` ` `
331331
332+ # ## -DisablePermissiveModify
333+ Group membership updates use permissive modify by default. This suppresses an error when adding a member that is already member of the group.
334+ When this parameter is used, an error “The specified account name is already a member of the group” is returned.
335+
336+ This parameter is available in Windows Server 2019 with the September 2020 Updates.
337+
338+
339+ ` ` ` yaml
340+ Type: SwitchParameter
341+ Parameter Sets: (All)
342+ Aliases:
343+ Required: False
344+ Position: Named
345+ Default value: False
346+ Accept pipeline input: False
347+ Accept wildcard characters: False
348+ ` ` `
349+
332350# ## -WhatIf
333351Shows what would happen if the cmdlet runs.
334352The cmdlet is not run.
You can’t perform that action at this time.
0 commit comments