Import-Module ActiveDirectory <# Example of Groups.csv, comma delimetered. Use Quotes for OU as there are commas and it would break layout! name, path, scope, category, description J_Drive_Accounts_Finance," OU=Fileshare,OU=Groups,OU=Company,DC=DOMAIN,DC=local", Global, Security, J:\Accounts\Finance U_Drive_Test_SubFolder_SubSub-RO," OU=Fileshare,OU=Groups,OU=Company,DC=DOMAIN,DC=local", Global, Security,U:\Test\Subfolder\SubSub - Read Only #> #Import CSV from where is stored on computer $groups = Import-Csv "C:\Users\username\Desktop\groups.csv" # Loop through the CSV foreach ($group in $groups) { $groupProps = @{ Name = $group.name Path = $group.path GroupScope = $group.scope GroupCategory = $group.category Description = $group.description }#end groupProps New-ADGroup @groupProps } #end foreach loop