Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1
- New-ADGroup -Name "RODC Admins" -SamAccountName RODCAdmins -GroupCategory Security -GroupScope Global -DisplayName "RODC Administrators" -Path "CN=Users,DC=hlfr,DC=sh" -Description "Members of this group are RODC Administrators"
- 2
- Get-ADGroup FabrikamBranch1 -Properties Description | New-ADGroup -Name "Branch1Employees" -SamAccountName "Branch1Employees" -GroupCategory Distribution -PassThru
- GroupScope : Universal
- Name : Branch1Employees
- GroupCategory : Distribution
- SamAccountName : Branch1Employees
- ObjectClass : group
- ObjectGUID : 8eebce44-5df7-4bed-a98b-b987a702103e
- SID : S-1-5-21-41432690-3719764436-1984117282-1117
- DistinguishedName : CN=Branch1Employees,CN=Users,DC=Fabrikam,DC=com
- 3
- New-ADGroup -Server localhost:60000 -Path "OU=hlfr,DC=sh" -Name "AccountLeads" -GroupScope Universal -GroupCategory Security
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement