In this chapter from Deploying and Managing Active Directory with Windows PowerShell: Tools for cloud-based and hybrid environments, learn how to create and manage users, groups, and OUs; how to filter against the properties of users, groups, and computers to selectively act on the results of that filter; and how to add users to groups and move users and computers into an OU.
Now that we have a forest and domain, and we’ve got the basics of networking and name resolution sorted, the next step is to add some users to our domain. We’ll start with adding a simple user, interactively, and then create a bunch of users by using a script and a comma-separated values (CSV) file. We’ll create a new group and then add a group of users into that group, using a filter to ensure that we add the correct set of users. Then we’ll create a new organizational unit (OU) and move users and computers into the OU. Pretty basic stuff, really, but essential for any domain administrator.
Active Directory Windows PowerShell nouns used in this chapter:
Other Windows PowerShell commands used in this chapter:
Read the complete chapter here: https://www.microsoftpressstore.com/articles/article.aspx?p=2418907.