TestimoX

API Reference

Command

Remove-ADXGroup

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

Removes an Active Directory group.

Examples

Authored help example

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 requiredposition: 0pipeline: falsealiases: CommonName, DistinguishedName, DN, Mail, Name, SamAccountName
Gets or sets group identity (sAMAccountName, DN, mail, or name).
Domain string optionalposition: namedpipeline: falsealiases: DomainName
Gets or sets the optional domain DNS name.

Outputs

ADPlayground.DirectoryMutationResult