O'Reilly logo

PowerShell in Practice by Richard Siddaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. User accounts

This chapter covers

  • Automating AD user accounts
  • Searching Active Directory
  • Creating and modifying group memberships
  • Group nesting

“Working with users” is the title of the middle part of this book. Anyone who thought “It would be a nice job but for the users” should be ashamed, very ashamed. Write out 100 times “I mustn’t say things like that again.” Better still, create a PowerShell script to write it out. There’ll be a test.

A large part of administration comes back to users, directly or indirectly. In this chapter, we’ll be automating the administration of user accounts. Why do we want to do this? Look back at my example from chapter 4. Do you want to set up 7,000+ users in a few weeks? Automation all the way. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required