API Reference
Command
Remove-ADXGroup
Removes an Active Directory group.
Examples
Example 1: Preview the removal of a retired project group
Remove-ADXGroup -Identity 'GG_Project_Aurora' -Domain 'contoso.com' -WhatIf
Example 2: Remove a superseded distribution list
Remove-ADXGroup -Identity 'DL_Krakow_Office' -Domain 'contoso.com' -Confirm:$false
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Remove-ADXGroup -Identity <string> [-Domain <string>] [<CommonParameters>]#Parameters
- Identity string
- Gets or sets group identity (sAMAccountName, DN, mail, or name).
- Domain string
- Gets or sets the optional domain DNS name.
Outputs
ADPlayground.DirectoryMutationResult