This video will help to create single or multiple security groups using PowerShell cmdlet scripting.
#Import CSV which contains group information
$groups = Import-Csv ‘c:\grouplist\groups.csv‘
foreach loop through the CSV
foreach ($group in $groups) {
$groupproperty = @{
Name = $group.name
Path = $group.path
GroupScope = $group.scope
GroupCategory = $group.category
Description = $group.description
}
New-ADGroup @groupproperty
}
Watch video New-ADGroup | Create single group or multiple group using PowerShell script online without registration, duration hours minute second in high quality. This video was added by user System Administrator 29 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 572 once and liked it 9 people.