Getting IT Right – the unofficial voice of Meteor IT

  • About Getting IT Right
  • About Adam
  • About Meteor IT
  • A warm welcome to Getting IT Right!

    I hope you discover useful and interesting information here. Please leave a comment if you find a post particularly helpful. More importantly, if you find something inaccurate, tell me so I can fix it.
  • 5 Most-Read Posts

    • Moving the offline files cache (CSC folder) in Vista
    • Excel 2007 calculation bug displays apparently wrong numbers
    • 5 reasons to always put titles on every slide in PowerPoint
    • Exchange 2007 address policies behave as expected (unlike 2003)
    • Internet Explorer 7 automatic installation via WSUS today
  • Choose a category

  • Tag cloud

    70-298 Active Directory anti-virus book review British English bug calculation certification dictionary enumerating badness error Excel Excel 2007 Excel 2010 floating point GPMC Group Policy Live Writer malware MCP MCSA MCSE Microsoft OCT Office 2007 PowerPoint Presentations ribbon RTM second shot Security and Malware service pack spellcheck spelling spyware trojan UK English UPS_invoice user account viruses Vista whitelist Windows windows server WLW

Using DSMod to update Active Directory

January 1, 2007 — Adam Vero

DSMOD foundation course 101

I originally wrote this as an email reply to a colleague’s question about updating many Active Directory objects in one go, and later thought I could write it up “tutorial style”. I still think the DSQuery, DSGet, DSMod functions are underused by even fairly knowledgeable administrators, so here is a beginner’s guide to getting the most of these tools.

This is intended to show the principles for changing many AD objects’ properties in one go. There are lots more clever things you could do with this – like a lot of command line stuff, the principles are very simple but can be strung together to very powerful end results with a bit of thought and a step-by-step logical approach.

Basically, DSMOD allows you to change many (not all) of the AD properties of an object, usually a user, computer or group. This tutorial discusses users specifically, but the principles extend to other objects. Read the rest of this entry »

Posted in Active Directory, Scripting. Tags: Active Directory, AD, command line, DSGet, DSMod, DSQuery, script, user account, user details, windows server. 2 Comments »
Blog at WordPress.com. • Theme: Garland by Steven Wittens and Stefan Nagtegaal.
  • Last 5 posts

    • 5 reasons to always put titles on every slide in PowerPoint
    • Using large images in PowerPoint
    • Draft whitepaper about improvements to functions in Excel 2010
    • Office 2007 sp2 Group Policy ADM and ADMX files and OCT available
    • Windows 7 RTM, Server 2008 R2 and IE8 group policy settings lists
  • Calendar

    November 2009
    M T W T F S S
    « Oct    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • Previous months

  • Search the blog

  • Blogroll

    • CRM Trick Bag
    • Dave Overton – UK SBS Guy
    • Industry Insiders
    • PeltierTech
    • Presentation Zen
    • Smurf on Spreadsheets
    • Steve Riley
  • Support forums

    • GPAnswers.com
    • Security Forums
  • Websites

    • Meteor IT
    • The Register
    • Threat Code
    • World clock
  • RSS feeds + Admin

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.com