ps/Modules/Alkami.PowerShell.SDK/Public/Get-SavedInstallVersions.ps1

11 lines
294 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
function Get-SavedInstallVersions {
[CmdletBinding()]
param ()
# TODO: Read this from the file used in Save-InstallVersions
$filePath = Get-SavedInstallVersionPath
if (!(Test-Path -Path $filePath)) {
return $null,$null
}
return Get-Content -Path $filePath
}