CmdID

CmdID / PowerShell / Cmdlets / Remove

Remove-ADObject

Removes an Active Directory object. Windows Server PowerShell reference

From the Windows Server PowerShell reference 9 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

9 in the Windows Server PowerShell reference
-AuthTypeSpecifies the authentication method to use.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies the user account credentials to use to perform this task.
-IdentitySpecifies an Active Directory object by providing one of the following property values.
-IncludeDeletedObjectsSpecifies that the cmdlet retrieves deleted objects and the deactivated forward and backward links.
-PartitionSpecifies the distinguished name of an Active Directory partition.
-RecursiveIndicates that this cmdlet removes the object and any children it contains.
-ServerSpecifies the AD DS instance to connect to, by providing one of the following values for a corresponding domain name or directory server.
-WhatIf, -wiShows what would happen if the cmdlet runs.