Public/Uninstall-InstallModule.ps1
function Uninstall-InstallModule { param ( [string]$ModuleName ) Remove-Module $ModuleName; Uninstall-Module $ModuleName; Install-Module $ModuleName; Import-Module $ModuleName; Get-Command -Module $ModuleName; } |