Configure Windows Server Core using PowerShell after installation

Configure Windows Server Core using PowerShell after installation

Today, I want to share with you how to configure Windows Server Core, with simple commands on powershell, 

To do it, you have just to follow those steps :


0- First, you have to go into PowerShell mode,

#Powershell


1- Install VMware Tools : (If the server is Virtual Machine on VMware)

#Psdrive

#D:

#.\Setup.exe

 

2- Configure Network Interface :

#Get-NetAdapter (Get the basic properties of network adapters and also the InterfaceIndex)

#New-NetIPAddress –InterfaceIndex 12 –IPAddress 192.168.1.203 –PrefixLength 24 –DefaultGateway 192.168.1.254


3- Allow machine to accept ping :

#Netsh advfirewall firewall add rule name=”hentati.org – Autoriser Ping” protocol=icmpv4 dir=in action=allow


4- Configure DNS :

#Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 8.8.8.8″

To show the DNS configuration:

#Get-DnsClientServerAddress -InterfaceIndex 12


5- Remane Server :

#Rename-Computer -NewName “Server044” -DomainCredential hentati.org\Admin01 -Restart


6- Integrate the server into Active Directory :

#Add-Computer -DomainName hentati.org -Credential [email protected]

#Restart ! # Shutdown /r /t 2



Those last years, Windows Server Core is more and more used in production plateform, specially for security reasons


I hope this article could be useful and for someones the first step to enter PowerShell world.


You can find more articles on : www.hentati.org


Thanks,

Ali HENTATI

要查看或添加评论,请登录

Ali HENTATI的更多文章

  • Udemy: The Best e-Learning Platform !

    Udemy: The Best e-Learning Platform !

    Hello Linkedin, Today, I want to share with you an online training platform UDEMY, www.udemy.

  • Logical volume manager (LVM)

    Logical volume manager (LVM)

    What is LVM ? Logical volume manager (LVM) introduces an extra layer between the physical disks and the file system…

  • Mars 2018 Tech Summit of Microsoft in Paris

    Mars 2018 Tech Summit of Microsoft in Paris

    This week, I've been attending the Tech Summit of Microsoft in Paris, In this article, I want to share with you the…

社区洞察

其他会员也浏览了