I'm attempting to streamline the development environment setup process for a large development team. A lot of the setup process is already automated, e.g. we automatically create a Solr Docker container with all the necessary cores.
We make heavy use of indexes and would prefer to avoid having to ask/demo to the developer to manually rebuild their indexes from the Sitecore Control panel.
I could rebuild manually, or via a Sitecore scheduled task but how can I script a Solr index rebuild, ideally from Windows Powershell?