Functions/HealthMonitor/Remove-FpsHealthMonitor.ps1

function Remove-FpsHealthMonitor {
    $taskName = '4PS Health Monitor' 

    if (Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue) {
        Unregister-ScheduledTask -TaskName $taskName -Confirm:$false
    }
}

Export-ModuleMember -Function Remove-FpsHealthMonitor