ps/Modules/Alkami.PowerShell.Common/Public/Get-OrbLogsPath.ps1

22 lines
602 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
function Get-OrbLogsPath {
<#
.SYNOPSIS
Get the path to the root of the Orb logging 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
$orbLogsPath = Join-Path -Path $installationDrive -ChildPath 'OrbLogs'
return $orbLogsPath
}