O'Reilly logo

Windows PowerShell™ 2.0 Best Practices by Ed Wilson

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 4. User Management

Examining the Active Directory Schema

Before you begin to perform user management in Active Directory, you must examine the Active Directory schema. There are several hundred classes defined within the Active Directory schema; some are rather esoteric, yet others are very useful and should be explored. The BrowseActiveDirectorySchema.ps1 script, seen here, allows you to browse the schema.

Example 4-1. BrowseActiveDirectorySchema.ps1

Param($action,$class, [switch]$help) Function GetHelp() { $helpText= ` @" DESCRIPTION: NAME: BrowseActiveDirectorySchema.ps1 Browse Active Directory Schema. ...

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