Book description
Learn to configure and manage Active Directory using PowerShell in an efficient and smart way
In Detail
Windows PowerShell is a task-based command-line shell and is gaining popularity day-by-day. Using PowerShell to manage the Active Directory environment not only saves time for the system administrator, but end users also benefit as they see their requests being fulfilled in very little time.
The book starts with an overview of the components, software, and modules required to manage Active Directory with PowerShell. It then moves on to help you create and manage users, computer accounts, and group policies with simple examples to automate daily tasks. Furthermore, it covers topics such as GPOs, DNS Server/Client, DFS-N, and DFS-R automation. It also demonstrates how to automate some advanced operations so that they can be scripted to perform in a faster and more efficient way. By the end of this book, you will be competent enough to use PowerShell to manage your Active Directory environment and will gain all the required knowledge to automate your daily operations.
What You Will Learn
Manage user and computer accounts using PowerShell
Automate group membership additions, removals, and bulk operations using PowerShell
Perform various query operations against Active Directory to fetch user, computer, and group details in an efficient and faster way
Understand how sites, subnets, and domains are managed
Perform advanced operations such as Domain Controller promotion/demotion
Discover how to automate replication checks, fine grained password policy creation, and FSMO roles transfer/seize using PowerShell
Get to know more about DNS server management, record creation/modification/ deletion, and DNS client management with PowerShell
Find out ways to automate DFS-N and DFS-R installation and configuration using PowerShell
Table of contents
-
Active Directory with PowerShell
- Table of Contents
- Active Directory with PowerShell
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Let's Get Started
- 2. Managing User and Computer Objects
- 3. Working with Active Directory Groups and Memberships
- 4. Configuring Group Policies
- 5. Managing Domains, Organizational Units, Sites, and Subnets
- 6. Advanced AD Operations Using PowerShell
- 7. Managing DFS-N and DFS-R Using PowerShell
- 8. Managing Active Directory DNS Using PowerShell
-
9. Miscellaneous Scripts and Resources for Further Learning
- Checking whether a user, group, computer, or an OU exists
- Getting membership of a user, computer, and group
- Resetting the password for multiple user accounts
- Bulk creation of user accounts
- Getting the password expiry date of user accounts
- Finding all the disabled user accounts
- Getting all domain controllers and their site names in the forest
- Moving objects from one OU to another
- Finding inactive computers in Active Directory
- Creating groups in bulk
- Exporting an AD group member's details to CSV
- Finding empty groups in Active Directory
- Verifying whether a user is a member of the given group or not
- Comparing AD groups' membership
- Resources for further learning
- Index
Product information
- Title: Active Directory with PowerShell
- Author(s):
- Release date: January 2015
- Publisher(s): Packt Publishing
- ISBN: 9781782175995
You might also like
book
PowerShell for Office 365
Learn the art of leveraging PowerShell to automate Office 365 repetitive tasks About This Book Master …
book
Windows Server 2016 Automation with PowerShell Cookbook - Second Edition
Over 100 recipes to help you leverage PowerShell to automate Windows Server 2016 manual tasks About …
book
Windows Server Automation with PowerShell Cookbook - Fifth Edition
Use over 100 PowerShell 7.2 recipes to deepen your understanding of Windows Server 2022 and see …
book
PowerShell in Depth, Second Edition
PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every …