15 lines
388 B
PowerShell
15 lines
388 B
PowerShell
function Get-MigrationRunnerPath {
|
|
<#
|
|
.SYNOPSIS
|
|
Get the path to the default location for fluent migrator libraries
|
|
#>
|
|
[CmdletBinding()]
|
|
[OutputType([System.String])]
|
|
Param()
|
|
|
|
$path = "C:\ProgramData\Alkami\Alkami\MachineSetup\DatabaseCore"
|
|
if (!(Test-Path $path)) {
|
|
(New-Item -ItemType Directory -Path $path -Force -ErrorAction Ignore) | Out-Null
|
|
}
|
|
return $path
|
|
} |