22 lines
602 B
PowerShell
22 lines
602 B
PowerShell
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
|
|
}
|
|
|