I tried running these PowerShell commands in my Server Core installation for enabling the GUI and I found that they didn't work and received error messages.
If anyone else knows of any ways of enabling or restoring the GUI in a Server 2016 Core installation please let me know.