Microsoft Server 2016
CLI Mode
Install-WindowsFeature -name AD-Domain-Services
Install-ADDSForest -domainname "Pradhyuman.com"
SafeModeAdministratorPassword:xxx
retype same password:xxx
press 'y'
==================
New-NetIPaddress -InterfaceIndex 2 -IPAddress 192.0.2.2 -PrefixLength 24 -DefaultGateway 192.0.2.1
==============================
net localgroup "Power users" UserLoginName /add
https://docs.microsoft.com/en-us/windows-server/administration/server-core/server-core-administer
https://www.windows-commandline.com/add-user-to-group-from-command-line/
=================================
cli to gui
Command Line Interface
Graphical User Interface
Install-WindowsFeature -Name Server-Gui-Shell,Server-Gui-Mgmt-Infra -restart
0 Comments: