
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.

# Rename Computer
Rename-Computer -NewName DC1
# Reboot
Restart-Computer -Force

# Set IP-Address & Gateway
New-NetIPAddress –IPAddress 192.168.15.10 -DefaultGateway 192.168.15.2 -PrefixLength 24 -InterfaceIndex (Get-NetAdapter).InterfaceIndex

# Set DNS - Server
Set-DNSClientServerAddress –InterfaceIndex (Get-NetAdapter).InterfaceIndex –ServerAddresses 192.168.15.10

Install-WindowsFeature -name AD-Domain-Services -IncludeManagementTools

Install-ADDSForest -DomainName corp.company.com -DomainNetBIOSName Test -InstallDNS
# According to Microsoft's recommendation, you should not create a private domain (comnpany.local) but a subdomain of your official domain (corp.company.com)






References:
https://petri.com/windows-server-2022-as-a-domain-controller/
DNS namespace planning - Windows Server
Describes the design of the DNS namespace in an Active Directory environment.
