Category Archives: Windows Server 2016 Core

Solutions for Windows Server 2016 Core

PowerShell

How to remotely access Window Server 2016 Core in PowerShell 

This walkthrough shows you how to remotely access Window Server 2016 Core in PowerShell.

Windows Server 2016 Core is a great minimal install of windows server but doesn’t come with any desktop experience. This means we will be doing everything via command prompt or PowerShell for the initial setup. The great thing is you use Powershell and RSAT from a Windows 10 machine and working on the server is a snap. You get the ease of administration and the reliability and compact design of Core.

Here is how you enable PSRemote (Powershell Remote):
HOST – SERVER 2016 Core (Powershell prompt)
Enable-PSRemoting -Force
Your Workstation
Enter-PSSession -ComputerName 10.0.0.2
Note: you can use netbios name here as well

For any troubleshooting we will need to do make sure the initial setup is done by typing, sconfig once this has been completed you will have set the static IP, opened remote access, activated windows, and ran windows update.

azure active directory

Force local active directory to sync to Office 365 with Azure ADSync

Use the following from an Elevated Powershell Prompt to force an AD sync to your O365 admin portal. You will be performing this on the server where Azure AD Sync is installed. When running this command you will need to wait 5 minutes before checking your portal to verify it is working. In larger environments this can take a longer time.

Import-Module “C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1”
Start-ADSyncSyncCycle -PolicyType Delta

Let me know in the comments below if you have any issues or this solution doesn’t work for you.