PowerShell, Windows

Deploy & Manage Windows Server 2019 (1703)

With the recent announcement of Windows Server 2019 why not download and install the evaluation ISO from – https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016 and put it to the test?!

Once the ISO has been downloaded, we’ll be creating a Virtual Machine in vSphere selecting Microsoft Windows Server 2016 as the guest OS system version, mount the ISO and install:

Once installed (which so far is the same process as installing Windows Server 2016) you’ll be prompted to a core edition CMD prompt to set your admin password: 

We’ll set the local administrator password: 

And now we’re ready to go: 

We’ll next do the following actions:

# We'll switch over to PowerShell - as we're in CMD prompt at logon

# As there's DHCP enabled we need to know the IP address of the server

# Let's ensure that WinRM service is running 
Get-Service WinRM | start-Service

# Finally we need to enable PowerShell remoting

Which should look like:

Now we’re ready for the second part of config on our local workstation or some other management VM:

# Open up PowerShell as Administrator where we need to ensure that WinRM is running
Get-Service WinRM | Start-Service

# Then we need to add the non-domain Windows Server 2019 as a trusted host
Set-Item WSMan:\localhost\Client\TrustedHosts "*" -Force

# To check if connectivity can be established to the server we use the following command using the previously set local administrator credentials
Enter-PSSession -Credential (Get-Credential)

Which should look something like this: 

Now to take it to the next level (?) let’s take a look at  – Microsoft Project Honolulu – a web based management tool for Windows Server:

It is a free 42MB download which is then installed and run locally via your browser (HTML5) to manage remote systems via WinRM, PowerShell and WMI. This is “the modern evolution of “in-box” management tools, like Server Manager and MMC. It is complementary to System Center and Operations Management Suite, and is not intended to replace these products and services.”



Leave a Comment

Your email address will not be published. Required fields are marked *