This creates a new custom list in sharepoint
$web = Get-SPWeb https://xxx/cmdtools $SPTemplate = $web.ListTemplates["Custom List"] $web.Lists.Add("TestInfoPathList","Description",$SPTemplate)