Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Windows Server 2008 R2
This topic explains how to use the Active Directory module for Windows PowerShell to allow organizational units (OUs) to be created within containers.
Example
The following example demonstrates how to allow the creation of OUs within containers:
Set-ADObject -Identity 'CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=Fabrikam,DC=com' -Partition 'CN=Schema,CN=Configuration,DC=Fabrikam,DC=com -Add @{possSuperiors='Container'}
Additional information
You can use the following parameters when you set many of the common values of Active Directory objects:
-Description
-DisplayName
-ProtectedFromAccidentalDeletion
For a full explanation of the parameters that you can pass to Set-ADObject, at the Active Directory module command prompt, type Get-Help Set-ADObject -detailed, and then press ENTER.