The New-DscMetaConfiguration cmdlet allows you to create a localhost.meta.mof with the options specified when calling the cmdlet. Optionally, it will also apply the meta configuration (and remove the temporary localhost.meta.mof).
Dot source the New-DscMetaConfiguration.ps1 file into your session and run the following:
New-DscMetaConfiguration -Path c:\temp\myTemp.mof -ConfigurationMode ApplyOnly -RefreshMode Push -RebootNodeIfNeeded $false -DebugMode None -ActionAfterReboot StopConfiguration -StatusRetentionTimeInDays 30At it's core, this cmdlet just builds the DSC configuration code to create a localhost.meta.mof file, based on the parameters specified. From there, a meta configuration file can be created, or it can be directly applied.
In the near future, we will be packaging this cmdlet into a module and publishing to the PowerShell Gallery.