- Active Directory Administration Cookbook
- Sander Berkouwer
- 55字
- 2021-06-24 14:42:24
Using Windows PowerShell
The New-ADOrganizationalUnit PowerShell cmdlet is the most elaborate option to create OUs on Windows Server installations without the desktop experience and through automation of administrative tasks.
Use the following lines of PowerShell on a system with the Active Directory module for Windows PowerShell installed:
Import-Module ActiveDirectory
New-ADOrganizationalUnit "Finance" -Description "Finance OU"