Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions HPDrivers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ function Get-HPDrivers {
$TestConn = Test-Connection "hpia.hpcloud.hp.com" -Count 2 -ErrorAction Ignore
if (!$TestConn) {
Write-Output `n
Write-Warning "hpia.hpcloud.hp.com is unavailable!`nPlease check your internet connection or try again later..`n"
Break
Write-Warning "hpia.hpcloud.hp.com is could be unavailable!`nScript will still try incase SNMP traffic is blocked..`n"
#Break
}

# warn if battery charge drops below 50%
Expand Down Expand Up @@ -390,4 +390,4 @@ function Get-HPDrivers {
}
}
}
Export-ModuleMember -Function Get-HPDrivers
Export-ModuleMember -Function Get-HPDrivers