Pipelines/Steps/Install/OnPrem/Solr/PreInstalled/Create-SolrConfigSetsPackage.ps1
$ErrorActionPreference = "Stop" Write-Output "Create Solr config sets package started..." $prefix = $SAFConfiguration.prefix $configSetsDir = "$SAFSolrTempDir\server\solr" $saveDir = Get-Location Get-ChildItem $configSetsDir -Filter "$prefix*" -Directory | Compress-Archive -DestinationPath "$saveDir\SitecoreSolrConfigSets" -CompressionLevel Optimal -Force Remove-Item "$(Split-Path -Path $SAFSolrTempDir)" -Recurse -Force | Out-Null Write-Output "Create Solr config sets package done." |