![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | active directory 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? |
My System Specs![]() |
| | #2 (permalink) |
| | RE: active directory Ill go ahead and answer my own question. http://del.icio.us/powershell/Active...ry?setcount=50 :-D "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? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: active directory As I understand it RC2 breaks some earlier AD-related stuff. MOW has quite a few AD-related articles on his blog: http://mow001.blogspot.com/. 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. > >http://del.icio.us/powershell/Active...ry?setcount=50 > >:-D > >"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? |
My System Specs![]() |
| | #4 (permalink) |
| | Re: active directory - get_Children() <- gone ? 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: distinguishedName ----------------- {DC=SubDom,DC=MyDom,DC=net} From here it was possible to get the children of root by $root.get_children() 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 Joerg "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: > http://mow001.blogspot.com/. > > 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. > > > >http://del.icio.us/powershell/Active...ry?setcount=50 > > > >:-D > > > >"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? > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: active directory - get_Children() <- gone ? Under RC2 and 1.0, you can use: $ad= New-Object directoryservices.directoryentry $ad.psbase.children "Joerg H." <JoergH@discussions.microsoft.com> wrote in message news:3263A4BE-003A-429D-9AD7-DD5C0E47FBE3@microsoft.com... > 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: > distinguishedName > ----------------- > {DC=SubDom,DC=MyDom,DC=net} > > From here it was possible to get the children of root by > $root.get_children() > 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 > > Joerg > > > "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: >> http://mow001.blogspot.com/. >> >> 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. >> > >> >http://del.icio.us/powershell/Active...ry?setcount=50 >> > >> >:-D >> > >> >"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? >> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| active directory | PowerShell | |||
| Active Directory | Vista mail | |||
| Active Directory | Vista General | |||
| Active Directory | Vista networking & sharing | |||
| Active Directory | PowerShell | |||