Create Bulk OUs with PowerShell

Опубликовано: 04 Апрель 2022
на канале: Active Directory Pro
2,149
17

Learn how to bulk create organizational units in Active Directory with PowerShell. This comes in useful when merging domains, building new or test environments.

PowerShell script and written instructions:
https://activedirectorypro.com/create...

More Active Directory scripts, tools and tutorials
https://activedirectorypro.com

Video details:
In this video I demonstrate how to bulk add OUs to active directory using PowerShell. You first need to create a csv file with a name and path column. The name is for the name of the OU and path is where you want the OU created. The script uses the New-ADOrganizationalUnit cmdlet and imports the contents of the CSV to add the OUs.

Question: How will you use this script? Are you extending your existing OU structure? Merging with another domain? Either way let me know in the comments below.


Смотрите видео Create Bulk OUs with PowerShell онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Active Directory Pro 04 Апрель 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,149 раз и оно понравилось 17 людям.