![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| | |||||||
| |
| 12-30-2008 | #1 (permalink) |
| | UNABLE to delete object using remove-qadobject Remove-QADObject : The directory service can perform the requested operation only on a leaf object. (Exception from HRESULT: 0x80 072015) I am trying to delete an COMPUTER object. and it does not work. remove-qadobject -identity "mydomain/$computername$" |
| My System Specs |
| 12-30-2008 | #2 (permalink) |
| | Re: UNABLE to delete object using remove-qadobject adding on .. Only able to delete computer object if i put a -deletetree. remove-qadobject -identity "mydomain/$computername$" -deletetree. Why is there a need to put deletetree ? The word deletetree is misleading like deleting the WHOLE OU where the computer object exists ...anyone care to explain ? "IT Staff" <jkklim@xxxxxx> wrote in message news:e%23uxPJvaJHA.1704@xxxxxx Quote: > Remove-QADObject : The directory service can perform the requested > operation only on a leaf object. (Exception from HRESULT: 0x80 > 072015) > > > I am trying to delete an COMPUTER object. and it does not work. > > remove-qadobject -identity "mydomain/$computername$" > |
| My System Specs |
| 12-30-2008 | #3 (permalink) |
| | RE: UNABLE to delete object using remove-qadobject http://forums.techarena.in/server-scripting/475363.htm "IT Staff" wrote: Quote: > Remove-QADObject : The directory service can perform the requested operation > only on a leaf object. (Exception from HRESULT: 0x80 > 072015) > > > I am trying to delete an COMPUTER object. and it does not work. > > remove-qadobject -identity "mydomain/$computername$" > > > |
| My System Specs |
| 12-31-2008 | #4 (permalink) |
| | Re: UNABLE to delete object using remove-qadobject Hi IT, You need to use DeleteTree when the object you're trying to delete contains child objects. You can see the child objects when you browse the object with ADSIEDIT. --- Shay Levy Windows PowerShell MVP http://blogs.microsoft.co.il/blogs/ScriptFanatic PowerShell Toolbar: http://tinyurl.com/PSToolbar IS> Remove-QADObject : The directory service can perform the requested IS> operation IS> only on a leaf object. (Exception from HRESULT: 0x80 IS> 072015) IS> I am trying to delete an COMPUTER object. and it does not work. IS> IS> remove-qadobject -identity "mydomain/$computername$" IS> |
| My System Specs |
| Thread Tools | |
| |
| Similar topics to: UNABLE to delete object using remove-qadobject | ||||
| Thread | Forum | |||
| Delete Files where-object CreatedDate | PowerShell | |||
| move-qadobject | PowerShell | |||
| Re: Unable to cast COM object of type 'ADODB.RecordsetClass' to class type 'System.Object[]' | .NET General | |||
| Unable to Select-Object | PowerShell | |||
| Remove active directory object from group | PowerShell | |||