Get the App
SLTechnology News&Howtos  ›  Servers  › 

AD- New Group Command New-ADGroup

Shulou Source: shulou.com Published: 2022-06-02 12:41:42 12月06日 Update

Learn from:

Teacher Xu Peng's AD Powershell series of video courses

The properties that the group contains are:

Name

Managedby

GroupCategory

GroupScope

Path

Description

Create a group

New-ADGroup-Name Security_Group-ManageBy user10-GroupCategory Security-GroupScope Universal-Path "ou=Lab,dc=satid,dc=com"-Description "security"

Create a group based on a file

Import-Csv.\ groups.csv | foreach {New-ADGroup-Name $_ .Name-ManageBy $_ .ManageBy-GroupCategory $_ .GroupCategory-GroupScope $_ .GroupScope-Path $_ .ou-Description $_ .description}

Tags: Attributes files teachers videos courses Xu Peng learning commands Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn Redmi macOS Microsoft