header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Using Active Directory Web Services and PowerShell 2.0 RTM
Last Post 26 Dec 2009 05:43 AM by packetboy. 6 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
cameronoveUser is Offline
Basic Member
Basic Member
Posts:332
Avatar

--
24 Dec 2009 05:37 AM
    I noticed that not a lot of people are using the new Active Directory module in PowerShell v2 RTM (ps2rtm).  Maybe it's because you can only take advantage of the AD module if you are running Windows 7.  Windows 7 with AD module and ADWS will let you manage Win 2003 AD but you cannot run the PowerShell AD module on Win XP or 2003. 

    I had been avoiding PowerShell until recently for the more familiar (in my case) vbscript for several years now.  I just didn't want to give up vb.  [adsi] in PowerShell didn't seem that much easier than adsi in vbscript.  However, recently a catastrophic event took place in my life (all my work in vb for the last year were gone) which caused me to re-evaluate PowerShell.  I'd been putting it off but now forces were at work that kind of shoved me in that direction.  So I dove in.  I have to say--I am so glad I did.

    That said I'm finding that a large majority of the posh community are not using the latest greatest.  I can understand that.  Had I invested a couple of years in ps1 I would be reluctant to move to ps2rtm for production stuff (look at me I didn't even want to move away from vbscript).  Plus I was reluctant to move to Windows 7.  All my colleagues were using Win7 RCx not sure which version.  I waited until RTM and then only installed it on an extra workstation in my office.  Now I run it on my primary workstation--it really is a nice OS.

    Anyway, I just wanted to say to moving to ps2rtm and using the new ActiveDirectory module is not that painful (if you are running Windows 7).  It takes all of 15 minutes.  I'm not trying to diminish the value of Quest tools, but really the future of ps2 includes a fully functional, fully featured set of AD tools.  And it's really not that hard to start taking advantage of them (even if you are running a Windows 2003 functional AD environment).

    First prepare your AD environment.  Here are the instructions and download.  Read the page carefully.  For Windows 2003 DCs you will need to install two patches (the links for the patches are in the instructions on that page) and you may need to install the latest .Net 3.5 from Microsoft Update site.  Again all of the instructions and prerequisites are found on the page I linked to above.  I'm running a Windows 2003 native AD environment on DCs with Windows 2003 SP2 (no R2 in my environment) and ADWS works great.  You only need one DC running ADWS in each domain.

    Next install the RSAT tools in Windows 7.  Installation and instructions are here.  After installing the RSAT tools you need to enable the AD features.

    If you have prepared your environment according to the instructions, then, after starting PowerShell enter the command import-module activedirectory

    enter get-help *-ad* to see all of the AD functionality that the ActiveDirectory module gives.

    Sorry Windows XP users or Windows 2003 server users.  The ActiveDirectory module is not (as of yet) available for those systems.  I saw a number of forums with complaints about that but with no response so not sure if MS will ever make the module available for those systems.

    Have fun.

    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1642
    Avatar

    --
    24 Dec 2009 05:42 AM
    Thanks for sharing. Posting a reply so this doesn't show as unanswered...
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1642
    Avatar

    --
    24 Dec 2009 06:16 AM
    Oh and in case you want to learn more about AD & PowerShell, here's the team blog:
    http://blogs.msdn.com/adpowershell/
    Marco

    *Microsoft MVP - Windows PowerShell
    https://mvp.support.microsoft.com/profile/Marco.Shaw
    *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
    *Blog - http://marcoshaw.blogspot.com
    cameronoveUser is Offline
    Basic Member
    Basic Member
    Posts:332
    Avatar

    --
    24 Dec 2009 06:16 AM
    For those who may have read my original post I've edited it to reflect the real world. 



    halr9000User is Offline
    PowerShell MVP, Site Admin
    Advanced Member
    Advanced Member
    Posts:565
    Avatar

    --
    25 Dec 2009 07:48 PM
    Great stuff. Will mention this thread on the podcast.
    Community Director, PowerShellCommunity.org
    Co-host, PowerScripting Podcast
    Author, TechProsaic
    seaJhawkUser is Offline
    Basic Member
    Basic Member
    Posts:191
    Avatar

    --
    26 Dec 2009 03:58 AM
    Cameronove,
    Don't be so down. You brought up some good points (and counterpoints). I would bet that there are a number of people who have had questions about managing AD with PowerShell that you just answered.

    Merry Christmas,
    Chris
    packetboyUser is Offline
    New Member
    New Member
    Posts:1
    Avatar

    --
    26 Dec 2009 05:43 AM
    Good to see you are moving towards powershell from VBscript I was in the same boat and I just cant beleive how much better powershell is !! 

    Thanks for the info above but as far as the MS AD Cmdlets go for now the Quest QAD cmdlets give me everything I need for AD Management.  My company is still at Windows 2003 AD level with no Windows 2008 or Windows 7 members (they are not standard yet) so we can not put in the ADWS... 

    I beleive that when companies begin to upgrade to Win2k8R2 and Win7 on the desktop the MS cmdlets will be of more use but until then I will be sticking with the Quest cmdlets !!!

    Cheers

    Packetboy.
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer