Manage Computer Accounts

The AD module in PowerShell gives you the ability to handle generic objects through the *ADObject cmdlets. Realistically, you can likely handle any situation on any object type you're working on using these cmdlets. However, the module also provides some cmdlets that are focused on working with computer objects specifically. Although at the end of the day, computer objects are really just another object type, sometimes some administrative tasks require more handling than just modifying an attribute. In this section, we'll focus on computer objects and explain how to use PowerShell to manipulate them.

Create and Modify Computer Accounts

When you're working with computer objects in the directory, the AD module provides ...

Get Automating Active Directory® Administration with Windows PowerShell® 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.