diff --git a/docs/powershell.md b/docs/powershell.md index b008f0a..361e2fd 100644 --- a/docs/powershell.md +++ b/docs/powershell.md @@ -164,6 +164,12 @@ Move-ADDirectoryServerOperationMasterRole -Identity 'DC01' -OperationMasterRole New-ADUser -Name "John Doe" -GivenName "John" -Surname "Doe" -SamAccountName "jdoe" -UserPrincipalName "jdoe@yourdomain.com" -Path "OU=Users,DC=yourdomain,DC=com" -AccountPassword (ConvertTo-SecureString "P@ssword1" -AsPlainText -Force) -Enabled $true ``` +#### AddGroup +> New-ADGroup -Name [name] -GroupScope [DomainLocal/Global/Universal] -GroupCategory [Security/Distribution] -Path [OU=(Ordner),DC=(Subdomain),DC=(Domain),DC=(.tld)] +```ruby +New-ADGroup -Name "Trans_R" -GroupScope DomainLocal -GroupCategory Security -Path "OU=BTL-klein,OU=pod07,DC=pod07,DC=spielwiese,DC=intern" +``` + > Command: