Can you create scripts throughout the AD LDS configuration wizard?

Is it possible to install a new single instance of AD LDS (using cmd or PowerShell)? All the resources I can find online only use the Lightweight Directory Services Active Directory Configuration Wizard.