Examples/ServerCoreTest/ServerCoreTest.ps1

configuration ServerCoreTest
{
        WindowsFeature NoGUI
        {
           Ensure = 'Absent'
           Name = 'Server-Gui-Mgmt-Infra'
        }
        LocalConfigurationManager
        {
            ConfigurationMode = 'ApplyOnly'
            RebootNodeIfNeeded = 'True'
        }
}