Benutzer:MovGP0/Core Server/ADDS

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


Active Directory Domain Services (ADDS)

[Bearbeiten | Quelltext bearbeiten]
Install-Windowsfeature AD-Domain-Services -IncludeManagementTools
Import-Module ADDS-Deployment
Install-AddsForest PARAMETER
Add-Computer -DomainName "adds.local" -Restart
Get Fully Qualified Domain Name (FQDN)
[System.Net.Dns]::GetHostByName($env:Win10PC1)
New-ADUser -Name "UserName" -GivenName "Firstname" -Surname "Familyname" -SamAccountName "username" -UserPrincipalName "username@adds.local"
Get-ADUser "username"
Set-ADAccountPassword -Identity "username" -Reset -NewPassword (ConvertTo-SecureString -AsPlainText 'PASSWORD' -Force)
Enable-ADAccount -Identity "username"

|}