Use this command from apache solr 9.x and read more here https://solr.apache.org/guide/solr/latest/indexing-guide/post-tool.html#examples-using-binsolr-post
.\bin\solr post -c tech_products .\example\exampledocs\*.xml