Public/ps1/Configuration/General/Get-ApprxrConfigurationFolder.ps1

<#
  .SYNOPSIS
  Returns the folder path used for Apprxr configuration storage.
 
  .DESCRIPTION
  Returns the LOCALAPPDATA path for ApprxrConnect, creating it if it does not exist.
 
  .EXAMPLE
  Get-ApprxrConfigurationFolder
 
  .NOTES
  Used for determining where Apprxr configuration files are stored locally.
#>

function Get-ApprxrConfigurationFolder{
    $folder = $env:LOCALAPPDATA + "\ApprxrConnect"
    
    if( -not (Test-path $folder)){
      Install-AppData -DirectoryToCreate $folder -ErrorAction Ignore
    }
    $folder
}