Powershell AD – Neue Gruppe erstellen

Sicherheitsgruppe im Active Directotry erstellen

New-ADGroup -Name “IT” -GroupScope DomainLocal
New-ADGroup -Name “Personal” -GroupScope Global

New-ADGroup -Name ‘Marketing’ `
-Description ‘Sicherheitsgruppe fuer alle Marketing MA’`
-DisplayName ‘Marketing’`
-GroupCategory Security `
-GroupScope Global `
-SamAccountName ‘Marketing’ `
-PassThru