Install-Windowsfeature AD-Domain-Services -IncludeManagementTools
Import-Module ADDS-Deployment
Install-AddsForest PARAMETER
Add-Computer -DomainName "adds.local" -Restart
[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"