Skip to content

Instantly share code, notes, and snippets.

@brendanmckenzie
Created September 11, 2018 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendanmckenzie/91ea7de8676ed7d2f0e72bae4abfef10 to your computer and use it in GitHub Desktop.
Save brendanmckenzie/91ea7de8676ed7d2f0e72bae4abfef10 to your computer and use it in GitHub Desktop.
@(
"MCM_core_index",
"MCM_fxm_master_index",
"MCM_fxm_web_index",
"MCM_marketing_asset_index_master",
"MCM_marketing_asset_index_web",
"MCM_marketingdefinitions_master",
"MCM_marketingdefinitions_web",
"MCM_master_index",
"MCM_suggested_test_index",
"MCM_testing_index",
"MCM_web_index",
"MCM_xdb",
"MCM_xdb_rebuild"
) | ForEach { Invoke-WebRequest "https://mcm.solr.sitecore.hosting:8983/solr/admin/cores?action=CREATE&name=$_&instanceDir=$_" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment