![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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? |
| | #2 (permalink) |
| Guest | 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? |
| | #3 (permalink) |
| Guest | 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? |
| | #4 (permalink) |
| Guest | 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? > |
| | #5 (permalink) |
| Guest | 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? >> |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| active directory | Walser Mark | PowerShell | 4 | 04-22-2008 08:55 AM |
| Active Directory | Mark D. Hall | Vista mail | 1 | 09-14-2007 06:49 PM |
| Active Directory | Dyawlak | Vista security | 3 | 05-24-2007 05:15 AM |
| Active Directory | Vista General | 4 | 12-19-2006 09:27 AM | |
| Active Directory | Vista networking & sharing | 4 | 12-19-2006 09:27 AM | |