Creating an Active Directory Group with PowerShell
-
In its simplest form, we can use PowerShell to create an Active Directory group quite easily:
New-ADGroup groupname scope
In this case scope would be "global", "local" or "universal".
So for example to make the group "rdsusers" that is a "global" group we would just run...
New-ADGroup rdsusers global
If you want to see the details of the group that you just created, use Get-ADGroup.
-
You can quickly add new users to your new group, too...
add-adgroupmember rdsusers jane,bill,bob,mary,kate,ashely
-
Gah, I'm having bad memories of OpenVMS with the different programs for every single little thing.
It does make for a nice looking and short command-line structure tho.
-
@travisdh1 said in Creating an Active Directory Group with PowerShell:
Gah, I'm having bad memories of OpenVMS with the different programs for every single little thing.
It does make for a nice looking and short command-line structure tho.
Oh yeah, SO much different than UNIX.