Hi Andrew, hi Cameron,
I started using PS to browse the AD and startet in root by
$root = New-Object System.DirectoryServices.DirectoryEntry
$root is as expected:
From here it was possible to get the children of root by
and showed me the OUs, CNs a.s.o. from this point downwards.
But the V1.0 did not show me the .get_children() Method any more... !?
The former RC1 was working as expected [I think I missed somhow the RC2 by
my three week vacation.. and was not working on my scripts :-)
Have you (Andrew?) some information how I can get the get_children (or
another method) working?
I do not see a method doing this in the V1.0. In fact I miss _any_ get_* or
set_* method from here... (which were there in RC1 )
Thanks a lot
"Andrew Watt [MVP]" wrote:
> As I understand it RC2 breaks some earlier AD-related stuff.
> MOW has quite a few AD-related articles on his blog:
> I hazily recall that he had / was getting a new domain. No doubt, he
> can let you know its URL.
> Andrew Watt MVP
> On Wed, 15 Nov 2006 17:46:02 -0800, Cameron Murray
> <CameronMurray@discussions.microsoft.com> wrote:
> >Ill go ahead and answer my own question.
> >"Cameron Murray" wrote:
> >> Just downloaded powershell and have been playing around for a little bit..
> >> Looks like I can finally drop those calls to rundll to add printers
> >> Anyway..
> >> My question is:
> >> How much (if any) Active Directory support does powershell have? Can you for
> >> instance get the group membership for the logged on user?