Public/ps1/Configuration/Upgrade/Upgrade-Apprx.ps1

<#
    .SYNOPSIS
    Upgrades the Apprxr module to the latest version.
 
    .DESCRIPTION
    Removes, uninstalls, and reinstalls the Apprxr module, then reloads it into the current session.
 
    .EXAMPLE
    Upgrade-Apprxr
 
    .NOTES
    Used to ensure the latest version of Apprxr is installed and loaded.
#>

function Upgrade-Apprxr {
    remove-module apprxr
    uninstall-module apprxr
    install-module apprxr
    (Get-module apprxr)
}