Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. 1
  2.  
  3. 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"
  4.  
  5.  
  6. 2
  7.  
  8. Get-ADGroup FabrikamBranch1 -Properties Description | New-ADGroup -Name "Branch1Employees" -SamAccountName "Branch1Employees" -GroupCategory Distribution -PassThru
  9.  
  10. GroupScope : Universal
  11. Name : Branch1Employees
  12. GroupCategory : Distribution
  13. SamAccountName : Branch1Employees
  14. ObjectClass : group
  15. ObjectGUID : 8eebce44-5df7-4bed-a98b-b987a702103e
  16. SID : S-1-5-21-41432690-3719764436-1984117282-1117
  17. DistinguishedName : CN=Branch1Employees,CN=Users,DC=Fabrikam,DC=com
  18.  
  19. 3
  20.  
  21. 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