Delete Create Organizational Units.ps1

This commit is contained in:
itlifeskills 2024-09-22 10:28:33 -05:00 committed by GitHub
parent adf01ced5f
commit 30847a0e30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +0,0 @@
$departments = (Import-Csv -Path "C:\Scripts\Data\Departments.csv").Department
foreach ($department in $departments){
New-ADOrganizationalUnit -Name $department -Path "OU=Users,OU=ITLifeSkills,DC=hq,DC=itlifeskills,DC=local"
}