Configure Windows Core PowerShell On Virtual Machine after installation

First of all, you have to go into PowerShell mode,



  1. install VMware Tools :




  1. Configure Network Interface :
Get-NetAdapter  (Get the basic properties of network adapters) and also the InterfaceIndex

New-NetIPAddress –InterfaceIndex 12 –IPAddress –PrefixLength 24 –DefaultGateway


  1. Allow machine accept ping :
netsh advfirewall firewall add rule name=" – Autoriser Ping" protocol=icmpv4 dir=in action=allow


  1. Configure DNS:
Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses"

Get-DnsClientServerAddress -InterfaceIndex 12


  1. Remane Server:
C:\> Rename-Computer -NewName "Server044" -DomainCredential\Admin01 -Restart


  1. Integrate AD:
Add-Computer -DomainName -Credential

restart ! # Shutdown /r /t 2