-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExtensions.psm1
More file actions
22 lines (18 loc) · 851 Bytes
/
Copy pathExtensions.psm1
File metadata and controls
22 lines (18 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Set-StrictMode -Version 2.0
#Requires -RunAsAdministrator
# Get Functions
$private = Get-ChildItem -Path (Join-Path $PSScriptRoot Private) -Include *.ps1 -File -Recurse
$public = Get-ChildItem -Path (Join-Path $PSScriptRoot Public) -Include *.ps1 -File -Recurse
# Dot source to scope
# Private must be sourced first - usage in public functions during load
($private + $public) | ForEach-Object {
try {
. $_.FullName
}
catch {
Write-Warning $_.Exception.Message
}
}
Register-SitecoreInstallExtension -Command Invoke-ManageSolrCloudCollectionTask -As ManageSolrCloudCollection -Type Task
Register-SitecoreInstallExtension -Command Invoke-ManageSolrCloudConfigurationTask -As ManageSolrCloudConfiguration -Type Task
Register-SitecoreInstallExtension -Command Invoke-SitecoreUrlFixedTask -As SitecoreUrlFixed -Type Task