Public/ps1/Configuration/Upgrade/Upgrade-Apprxr.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 { (Get-module Apprxr).Version Remove-Module Apprxr Uninstall-Module Apprxr Install-Module Apprxr Import-Module Apprxr (Get-module Apprxr).Version } |