Use ContentTypeFilter in CreateSiteTemplate command.