Create Domain User by Script

  • Hey Guys , I need a little help here please. I need to create domain users (group users) but using a script to accomplish this :alien: any suggestions? Thanks.

  • Not sure if WMI will create users, but worth a shot. Also powershell should work. I think ADSI only queries though.

    Any of these methods could be called from xp_cmdshell.

    Watch my free SQL Server Tutorials at:
    http://MidnightDBA.com
    Blog Author of:
    DBA Rant – http://www.MidnightDBA.com/DBARant

    Minion Maintenance is FREE:

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply