<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Delete_an_AD_user_using_Quest_cmdlets</id>
		<title>Delete an AD user using Quest cmdlets - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Delete_an_AD_user_using_Quest_cmdlets"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Delete_an_AD_user_using_Quest_cmdlets&amp;action=history"/>
		<updated>2026-05-06T17:38:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Delete_an_AD_user_using_Quest_cmdlets&amp;diff=1542&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;text&quot;&gt;   Remove-QADObject  Delete a user account, group or other object from Active Directory.  Syntax       Remove-QADObject [[-Identity] IdentityParameter]...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Delete_an_AD_user_using_Quest_cmdlets&amp;diff=1542&amp;oldid=prev"/>
				<updated>2014-12-10T14:23:17Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;   Remove-QADObject  Delete a user account, group or other object from Active Directory.  Syntax       Remove-QADObject [[-Identity] IdentityParameter]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove-QADObject&lt;br /&gt;
&lt;br /&gt;
Delete a user account, group or other object from Active Directory.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
      Remove-QADObject [[-Identity] IdentityParameter]&lt;br /&gt;
	      [-DeleteTree] [-Force] [-Proxy] &lt;br /&gt;
             [-WhatIf] [-Confirm] Advanced_Options&lt;br /&gt;
&lt;br /&gt;
Key&lt;br /&gt;
&lt;br /&gt;
   -identity    The Distinguished Name (DN), Canonical Name, GUID or, where applicable,&lt;br /&gt;
                the Domain\Name, UPN or SID of the user object you wish to disable. &lt;br /&gt;
&lt;br /&gt;
   -DeleteTree  Delete the specified object along with all of its descendant objects.&lt;br /&gt;
                Without this parameter, Remove-QADObject will fail to delete any&lt;br /&gt;
                container object that holds any child objects.&lt;br /&gt;
&lt;br /&gt;
   -Force       Override any restrictions that prevent the command from succeeding.&lt;br /&gt;
                Useful when running the command in a script&lt;br /&gt;
&lt;br /&gt;
   -WhatIf      Describe what would happen if you executed the command,&lt;br /&gt;
                without actually executing the command.&lt;br /&gt;
&lt;br /&gt;
   -Confirm     Prompt for confirmation before executing the command.&lt;br /&gt;
&lt;br /&gt;
   Advanced_Options:&lt;br /&gt;
                [-UseGlobalCatalog] [-Proxy] [-Service String]&lt;br /&gt;
                [-ConnectionAccount String] [-ConnectionPassword SecureString]&lt;br /&gt;
                [-Credential PSCredential] [-Connection ArsConnection]&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
By default Remove-QADObject will connect to any available domain controller with the credentials of the locally logged on user, to connect to a specific domain controller using a specific account, either use the advanced options (-Proxy/-Service/-ConnectionAccount) or use the Connect-QADService cmdlet to make the connection.&lt;br /&gt;
&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
Remove the user account JaneC in domain ss64Dom&lt;br /&gt;
&lt;br /&gt;
PS C:&amp;gt; remove-QADObject 'ss64Dom\JaneC'&lt;br /&gt;
&lt;br /&gt;
Delete all the user objects located in a specific container:&lt;br /&gt;
&lt;br /&gt;
PS C:&amp;gt; get-QADUser -searchRoot 'ss64Dom.ss64.com/testOU' | remove-QADObject -confirm &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>