Install Windows Admin Center (WAC) using DSC
Windows Admin Center (WAC) is a locally deployed, browser-based app for managing servers, clusters, hyper-converged infrastructure, and Windows 10 PCs. It was previously known as Project Honolulu.
WAC really shines when being used to manage headless Windows Servers (e.g. Windows Server Core). The benefits of deploying Windows Server Core are huge, but it can be a bit daunting to system administrators that have only used the Windows GUI experience to manage servers.
It is pretty easy to install WAC, but if you want to install it with PowerShell DSC, then here is a config for you to use:
The config is parameterized and supports specifying the port for the WAC to listen onĀ and using either a self-signed certificate or a local machine certificate in the by specifying a thumbprint.
To apply the DSC using a self-signed certificate and on the default port of 6516, run the following in an Administrator PowerShell console:
You can run this on a Windows Server Core machine by logging in and typing powershell to start a PowerShell console, then entering the commands above.
To apply the DSC configuration specifying a certificate with a thumbprint from the local machine store and on Port 4000, run these commands instead:
This DSC configuration can also be used on Virtual Machines deployed to Azure, using either the Azure DSC Extension Handler or a Azure Automation DSC Pull Server.
Easy as all that. Now you can use the awesome WAC GUI and still run headless while also taking advantage of the benefits that DSC brings.