Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

WellKnownObjects from AD

$
0
0

I am looking to us Powershell to identify the location of the Deleted objects in Active Directory using .NetFramework. The information seems to be saved in the WellKnowObjects attribute which I can see when I use the following code:

$path = "LDAP://DC=My,DC=Domain"

 $root = [System.DirectoryServices.DirectoryEntry]$Path

$root.WellKnownObjects

What I get back from this is:

 WellknownObjects : {System.__ComObject, System.__ComObject, System.__ComObject, System.__ComObject...}

This is not the first time I have run into this ComObject discription. How do I get the underlying data associated with this attribute?



Viewing all articles
Browse latest Browse all 21975

Trending Articles