ps/Modules/Alkami.PowerShell.Common/Public/Get-OrbPath.ps1
2023-05-30 22:51:22 -07:00

21 lines
588 B
PowerShell

function Get-OrbPath {
<#
.SYNOPSIS
Get the path to the root of the Orb WCF/Client folders
.NOTES
This function does not have a unit test because this just returns a Join-Path
#>
[CmdletBinding()]
[OutputType([string])]
Param()
# This called function always returns what should be a valid value.
# If the path does not exist, consumers should fail.
# This is just a shim for Join-Path to allow for consistency.
$installationDrive = Get-AlkamiInstallationDrive
$orbPath = Join-Path -Path $installationDrive -ChildPath 'Orb'
return $orbPath
}