This form does not yet contain any fields.
    Login
    « AD LDS Instance fails to start, throws 0x8007041d | Main | Windows 7 - more »
    Wednesday
    Jan282009

    A swear-to-God AD provider in Powershell

    PS C:\> get-adobject -filter {lastknownparent -eq "ou=recycletest,dc=adatum,dc=com"} -searchbase "cn=deleted objects,dc

    adatum,dc=com" -includedeletedobjects -properties *

     

    See, now that I could learn to love, rather than having my PoSh look like nothing more than VBScript calling ADSI methods anytime I want to do something in AD.

     

    (And somewhere in New York/New Jersey right now, a guy name of Brandon is spiking an imaginary football.)

    Reader Comments (2)

    <grin>
    January 28, 2009 | Unregistered CommenterBrandon
    It is however non recursive so no tree restore without a script. Ping me for the script hookup.
    January 29, 2009 | Unregistered CommenterBrian Desmond

    PostPost a New Comment

    Enter your information below to add a new comment.

    My response is on my own website »
    Author Email (optional):
    Author URL (optional):
    Post:
     
    All HTML will be escaped. Hyperlinks will be created for URLs automatically.