Import-Module ActiveDirectory $groups = Import-Csv ‘C:\Users\Administrateur\Desktop\Scripts\groupes.csv‘ foreach ($group in $groups) { $groupProps = @{ Name = $group.name Path = $group.path GroupScope = $group.scope GroupCategory = $group.category Description = $group.description } New-ADGroup @groupProps Write-Host "Groupe créé." -ForegroundColor Cyan } Read-Host -Prompt "Appuyer sur ENTRER pour terminer."